Part Number Hot Search : 
KBPC3 15C01SS NLAOAC2 3362P500 SMCJ28 ML4812CP M34282M2 BZX55C
Product Description
Full Text Search
 

To Download HFA3824 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  4- 1 ? caution: these devices are sensitive to electrostatic discharge; follow proper ic handling procedures. 1-888-intersil or 321-724-7143 | intersil (and design) is a registered trademark of intersil americas inc. copyright ? intersil americas inc. 2002. all rights reserved prism and design? is a registered trademark of intersil corporation. prism? is a trademark of intersil corporation. HFA3824 direct sequence spread spectrum baseband processor the intersil HFA3824 direct sequence (dsss) baseband processor is part of the prism? 2.4ghz radio chipset, and contains all the functions neces- sary for a full or half duplex packet baseband transceiver. the HFA3824 has on-board adc?s for analog i and q inputs, for which the hfa3724/6 if qmodem is recom- mended. differential phase shift keying modulation schemes dbpsk and dqpsk, with optional data scrambling capabil- ity, are combined with a programmable pn sequence of up to 16 bits. built-in flexibility allows the HFA3824 to be config- ured through a general purpose control bus, for a wide range of applications. a receive signal strength indicator (rssi) monitoring function with on-board 6-bit 2 msps adc pro- vides clear channel assessment (cca) to avoid data colli- sions and optimize network throughput. the HFA3824 is housed in a thin plastic quad flat package (tqfp) suitable for pcmcia board applications. features ? complete dsss baseband processor ? high data rate . . . . . . . . . . . . . . . . . . . . . . up to 4 mbps ? processing gain . . . . . . . . . . . . . . . . . . . . . . . . up to 12db ? programmable pn code . . . . . . . . . . . . . . . up to 16 bits ? ultra small package . . . . . . . . . . . . . . . . . . . . 7 x 7 x 1mm ? single supply operation (33mhz max) . . . . . 2.7v to 5.5v ? single supply operation (44mhz max) . . . . . 3.3v to 5.0v ? modulation method. . . . . . . . . . . . . . . .dbpsk or dqpsk ? supports full or half duplex operations ? on-chip a/d converters for i/q data (3-bit, 44 msps) and rssi (6-bit, 2 msps) ? backward compatible with hsp3824 applications ? systems targeting ieee802.11 standard ? dsss pcmcia wireless transceiver ? spread spectrum wlan rf modems ? tdma packet protocol radios ? part 15 compliant radio links ? portable bar code scanners/pos terminal ? portable pda/notebook computer ? wireless digital audio ? wireless digital video ? pcn/wireless pbx ordering information part no. temp. range ( o c) pkg. type pkg. no. HFA3824iv -40 to 85 48 ld tqfp q48.7x7 HFA3824iv96 -40 to 85 tape and reel pinout HFA3824 (tqfp) simplified block diagram 1 2 3 4 5 6 7 8 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 9 10 11 12 13 14 15 16 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 rxclk rxd md_rdy rx_pe cca gnd mclk v dd reset antsel a/d_cal sd test_ck tx_pe txd txclk tx_rdy r/w cs v dda gnd i in gnd v dd i out q out test7 test6 test5 v dd gnd test3 test2 test1 test0 test4 q in rssi gnd v refp v refn v dda gnd v dda v dd gnd as sclk rssi i in q in i out q out dpsk demod. pro- cessor dpsk mod. data to network ctrl processor 6-bit a/d 3-bit a/d 3-bit a/d cca spreader de-spreader inter- face june 1998 file number 4308.1 n o t r e c o m m e n d e d f o r n e w d e s i g n s s e e h f a 3 8 2 4 a o r c o n t a c t o u r t e c h n i c a l s u p p o r t c e n t e r a t 1 - 8 8 8 - i n t e r s i l o r w w w . i n t e r s i l . c o m / t s c
4- 2 table of contents page ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 simplified block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 typical application diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 external interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 control port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 tx port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 rx port. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 i/q adc interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 adc calibration circuit and registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 rssi adc interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 test port. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 external agc control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 power down modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 transmitter description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 header/packet description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 pn generator description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 scrambler and data encoder description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 modulator description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 clear channel assessment (cca) and energy detect (ed) description . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 receiver description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 acquisition description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 two antenna acquisition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 one antenna acquisition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 acquisition signal quality parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 procedure to set acq. signal quality parameters (example) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 pn correlator descriptio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 data demodulation and tracking description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 procedure to set signal quality registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 data decoder and descrambler description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 demodulator performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 overall eb/n0 versus ber performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 clock offset tracking performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 carrier offset frequency performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 i/q amplitude imbalance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 a default register configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 control registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 thin plastic quad flatpack packages (tqfp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 HFA3824
4- 3 typical application diagram quad if modulator rfpa hfa3925 hfa3724/6 dsss baseband processor data to mac ctrl HFA3824 tune/select hfa3524 0 o /90 o vco a/d a/d mac-phy interface 802.11 vco dual synthesizer hfa3624 up/down converter a/d (file# 4067) (file# 4308) (file# 4062) (file# 4066) (file# 4132) prism? chip set file #4063 m u x m u x dpsk demod dpsk mod. de- spread spread q i hfa3424 (note) (file# 4131) typical transceiver application circuit using the HFA3824 note: required for systems targeting 802.11 specifications. cca rxi rxq rssi txi txq 2 HFA3824
4- 4 pin description name pin type i/o description v dda (analog) 10, 18, 20 power dc power supply 2.7v - 5.5v (not hardwire together on chip). v dd (digital) 7, 21, 29, 42 power dc power supply 2.7v - 5.5v gnd (ana- log) 11, 15, 19 ground dc power supply 2.7v - 5.5v, ground (not hardwire together on chip). gnd (digital) 6, 22, 31, 41 ground dc power supply 2.7v - 5.5v, ground. v refn 17 i ?negative? voltage reference for adc?s (i and q) [relative to v refp ] v refp 16 i ?positive? voltage reference for adc?s (i, q and rssi) i in 12 i analog input to the internal 3-bit a/d of the in-phase received data. q in 13 i analog input to the internal 3-bit a/d of the quadrature received data. rssi 14 i receive signal strength indicator analog input. a/d_cal 26 o this signal is used internally as part of the i and q adc calibration circuit. when the adc cal- ibration circuit is active, the voltage references of the adcs are adjusted to maintain the out- puts of the adcs in their optimum range. a logic 1 on this pin indicates that one or both of the adc outputs are at their full scale value. this signal can be integrated externally as a control voltage for an external agc. tx_pe 2 i when active, the transmitter is configured to be operational, otherwise the transmitter is in standby mode. tx_pe is an input from the external media access controller (mac) or network processor to the HFA3824. the rising edge of tx_pe will start the internal transmit state ma- chine and the falling edge will inhibit the state machine. tx_pe envelopes the transmit data. txd 3 i txd is an input, used to transfer serial data or preamble/header information bits from the mac or network processor to the HFA3824. the data is received serially with the lsb first. the data is clocked in the HFA3824 at the falling edge of txclk. txclk 4 o txclk is a clock output used to receive the data on the txd from the mac or network pro- cessor to the HFA3824, synchronously. transmit data on the txd bus is clocked into the HFA3824 on the falling edge. the clocking edge is also programmable to be on either phase of the clock. the rate of the clock will be depending upon the modulation type and data rate that is programmed in the signalling field of the header. tx_rdy 5 o when the HFA3824 is configured to generate the preamble and header information internally, tx_rdy is an output to the external network processor indicating that preamble and header information has been generated and that the HFA3824 is ready to receive the data packet from the network processor over the txd serial bus. the tx_rdy returns to the inactive state when the tx_pe goes inactive indicating the end of the data transmission. tx_rdy is an active high signal. this signal is meaningful only when the HFA3824 generates its own preamble. cca 32 o clear channel assessment (cca) is an output used to signal that the channel is clear to trans- mit. the cca algorithm is user programmable and makes its decision as a function of rssi, energy detect (ed), carrier sense (crs) and the cca watch dog timer. the cca algorithm and its programmable features are described in the data sheet. logic 0 = channel is clear to transmit. logic 1 = channel is not clear to transmit (busy). this polarity is programmable and can be inverted. rxd 35 o rxd is an output to the external network processor transferring demodulated header informa- tion and data in a serial format. the data is sent serially with the lsb first. the data is frame aligned with md_rdy. rxclk 36 o rxclk is the clock output bit clock. this clock is used to transfer header information and data through the rxd serial bus to the network processor. this clock reflects the bit rate in use.rx- clk will be held to a logic ?0? state during the acquisition process. rxclk becomes active when the HFA3824 enters in the data mode. this occurs once bit sync is declared and a valid signal quality estimate is made, when comparing the programmed signal quality thresholds. HFA3824
4- 5 md_rdy 34 o md_rdy is an output signal to the network processor, indicating a data packet is ready to be transferred to the processor. md_rdy is an active high signal and it envelopes the data trans- fer over the rxd serial bus. md_rdy returns to its inactive state when there is no more re- ceiver data, when the programmable data length counter reaches its value or when the link has been interrupted. md_rdy remains inactive during preamble synchronization. rx_pe 33 i when active, receiver is configured to be operational, otherwise receiver is in standby mode. this is an active high input signal. in standby, all a/d converters are disabled. antsel 27 o the antenna select signal changes state as the receiver switches from antenna to antenna during the acquisition process in the antenna diversity mode. sd 25 i/o sd is a serial bi-directional data bus which is used to transfer address and data to/from the internal registers. the bit ordering of an 8-bit word is msb first. the first 8 bits during transfers indicate the register address immediately followed by 8 more bits representing the data that needs to be written or read at that register. sclk 24 i sclk is the clock for the sd serial bus.the data on sd is clocked at the rising edge. sclk is an input clock and it is asynchronous to the internal master clock (mclk)the maximum rate of this clock is 11mhz or one half the master clock frequency, whichever is lower. as 23 i as is an address strobe used to envelope the address or the data on sd. logic 1 = envelopes the address bits. logic 0 = envelopes the data bits. r/w 8ir/w is an input to the HFA3824 used to change the direction of the sd bus when reading or writing data on the sd bus. r/w must be set up prior to the rising edge of sclk. a high level indicates read while a low level is a write. cs 9ics is a chip select for the device to activate the serial control port.the cs doesn?t impact any of the other interface ports and signals, i.e. the tx or rx ports and interface signals. this is an active low signal. when inactive sd, sclk, as and r/w become ?don?t care? signals. test 0-7 37, 38, 39, 40, 43, 44, 45, 46 i/o this is a data port that can be programmed to bring out internal signals or data for monitoring. these bits are primarily reserved by the manufacturer for testing. a further description of the test port is given at the appropriate section of this data sheet. the direction of these pins are not established until programming of test registers is complete. test_ck 1 o this is the clock that is used in conjunction with the data that is being output from the test bus (test 0-7). reset 28 i master reset for device. when active tx and rx functions are disabled. if reset is kept low the HFA3824 goes into the power standby mode. reset does not alter any of the configura- tion register values nor it presets any of the registers into default values. device requires pro- gramming upon power-up. mclk 30 i master clock for device. the maximum frequency of this clock is 44mhz. this is used inter- nally to generate all other internal necessary clocks and is divided by 1, 2, 4, or 8 for the trans- ceiver clocks. i out 48 o tx spread baseband i digital output data. data is output at the programmed chip rate. q out 47 o tx spread baseband q digital output data. data is output at the programmed chip rate. note: total of 48 pins; all pins are used. pin description (continued) name pin type i/o description HFA3824
4- 6 external interfaces preamble/header crc-16 rssi (14) 3-bit a/d i in (12) q in (13) 6-bit a/d ref 1.75v 0.25v v refp (16) v refn (17) vr3+ vr3- rssi ref 3 3 agc (26) mf correlator mf correlator pn code 11 to 16-bit symbol clock clear channel assessment/ (32) cca bit sync phase rotate psk demod lead /lag filter nco phase error rx_data descrambler (35) rxd tx_data scrambler (3) txd processor interface (36) rxclk pn generator i q i out (48) q out (47) pn code 11 to 16-bit z -1 xor diff decoder xor differential encoder b(t) b(t-1) d(t) d(t-1) latch xor xor chip rate clk mux clk for dqpsk i ch only for dbpsk analog de-spreader/acquisition dpsk demod spreader dpsk modulator and afc timing generator 8 8 signal quality and rssi sq and rssi threshold code (10, 18, 20) v dd (analog) (7, 21, 29, 42) v dd (digital) (11, 15, 19) gnd (analog) (6, 22, 31, 41) gnd (digital) (4) txclk (5) tx_rdy (2) tx_pe (33) rx_pe signal quality (34) md_rdy antsel (27) (24) sclk (25) sd (23) as (8) r/w (9) cs serial control port transmit port receive port (30) mclk (28) reset test 0 (38) test 1 (37) (39) test 2 (40) test 3 (43) test 4 (44) test 5 (45) test 6 (46) test 7 test port test_ck (1) a/d reference level adjust. mag. / phase and timing distrib. signal quality z -1 mclk 8 2v (max) (min) 3-bit a/d 11 to 16-bit 11 to 16-bit and figure 1. dsss baseband processor HFA3824
4- 7 there are three primary digital interface ports for the HFA3824 that are used for configuration and during normal operation of the device. these ports are: ? the tx port, which is used to accept the data that needs to be transmitted from the network processor. ? the rx port, which is used to output the received demodulated data to the network processor. ? the control port, which is used to configure, write and/or read the status of the internal HFA3824 regis- ters. in addition to these primary digital interfaces the device includes a byte wide parallel test port which can be config- ured to output various internal signals and/or data (i.e. pn acquisition indicator, correlator magnitude output etc.). the device can also be set into various power consumption modes by external control. the HFA3824 contains three analog to digital (a/d) converters. the analog interfaces to the HFA3824 include, the in phase (i) and quadrature (q) data component inputs, and the rf signal strength indicator input. a reference voltage divider is also required external to the device. control port the serial control port is used to serially write and read data to/from the device. the serial control port is used to serially write and read data to/from the device. this serial port can operate up to a 11mhz rate or the maximum master clock rate of the device, mclk (whichever is lower). mclk must be running and reset inactive during programming. this port is used to program and to read all internal registers. the first 8 bits always represent the address followed immedi- ately by the 8 data bits for that register. the two lsbs of address are don?t care. the serial transfers are accom- plished through the serial data pin (sd). sd is a bidirectional serial data bus. an address strobe (as), chip select (cs ), and read/write (r/w ) are also required as handshake sig- nals for this port. the clock used in conjunction with the address and data on sd is sclk. this clock is provided by the external source and it is an input to the HFA3824. the timing relationships of these signals are illustrated on figure 3 and 4. as is active high during the clocking of the address bits. r/w is high when data is to be read, and low when it is to be written. cs must be sampled high to initialize state machine. cs must be active (low) during the entire data transfer cycle. cs selects the device. the serial control port operates asynchronously from the tx and rx ports and it can accomplish data transfers independent of the activity at the other digital or analog ports. cs does not effect the tx or rx operation of the device; impacting only the operation of the control port. the HFA3824 has 57 internal registers that can be configured through the control port. these registers are listed in the configuration and control internal register table. table 1 lists the configuration register number, a brief name describing the register, and the hex address to access each of the registers. the type indicates whether the corresponding register is read only (r) or read/write (r/w). some registers are two bytes wide as indicated on the table (high and low bytes). txd txclk tx_rdy rxd rxc md_rdy cs sd sclk r/w as i (analog) q (analog) rssi (analog) v refn v refp tx_pe rx_pe reset test tx_port rx_port control_port analog inputs a/d reference power down signals test port 8 HFA3824 figure 2. external interface 76543210765432107654 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 sclk sd as cs r/w lsb data out msb msb address in first address bit first databit out notes: 1. these diagrams assume the HFA3824 always uses the rising edge of sclk, the controller the falling edge. 2. the cs is a synchronous interface in reference to sclk. there is at least one clock required before cs transitions to its active state. figure 3. control port read timing HFA3824
4- 8 76543210765432 107654 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 sclk sd as cs r/w lsb data in msb msb address in figure 4. control port write timing note: using falling edge sclk to generate address/control and data. table 1. configuration and control internal register list configuration register name type register address hex cr0 modem config. register a r/w 00 cr1 modem config. register b r/w 04 cr2 modem config. register c r/w 08 cr3 modem config. register d r/w 0c cr4 internal test register a r/w 10 cr5 internal test register b r/w 14 cr6 internal test register c r 18 cr7 modem status register a r 1c cr8 modem status register b r 20 cr9 i/o definition register r/w 24 cr10 rssi value register r 28 cr11 adc_cal_pos register r/w 2c cr12 adc_cal_neg register r/w 30 cr13 tx_spread sequence (high) r/w 34 cr14 tx_spread sequence (low) r/w 38 cr15 scramble_seed r/w 3c cr16 scramble_tap (rx and tx) r/w 40 cr17 cca_timer_th r/w 44 cr18 cca_cycle_th r/w 48 cr19 rssi_th r/w 4c cr20 rx_spread sequence (high) r/w 50 cr21 rx_spread sequence (low) r/w 54 cr22 rx_sq1_ acq (high) threshold r/w 58 cr23 rx-sq1_ acq (low) threshold r/w 5c cr24 rx-sq1_ acq (high) read r 60 HFA3824
4- 9 cr25 rx-sq1_ acq (low) read r 64 cr26 rx-sq1_ data (high) threshold r/w 68 cr27 rx-sq1-sq1_ data (low) threshold r/w 6c cr28 rx-sq1_ data (high) read r 70 cr29 rx-sq1_ data (low) read r 74 cr30 rx-sq2_ acq (high) threshold r/w 78 cr31 rx-sq2- acq (low) threshold r/w 7c cr32 rx-sq2_ acq (high) read r 80 cr33 rx-sq2_ acq (low) read r 84 cr34 rx-sq2_data (high) threshold r/w 88 cr35 rx-sq2_data (low) threshold r/w 8c cr36 rx-sq2_data (high) read r 90 cr37 rx-sq2_data (low) read r 94 cr38 rx_sq_read; full protocol r 98 cr39 modem configuration register e r/w 9c cr40 reserved (must load 00h) w a0 cr41 uw_time out_length r/w a4 cr42 sig_dbpsk field r/w a8 cr43 sig_dqpsk field r/w ac cr44 rx_ser_field r b0 cr45 rx_len field (high) r b4 cr46 rx_len field (low) r b8 cr47 rx_crc16 (high) r bc cr48 rx_crc16 (low) r c0 cr49 uw (high) r/w c4 cr50 uw (low) r/w c8 cr51 tx_ser_f r/w cc cr52 tx_len (high) r/w d0 cr53 tx_len (low) r/w d4 cr54 tx_crc16 (high) r d8 cr55 tx_crc16 (low) r dc cr56 tx_prem_len r/w e0 table 1. configuration and control internal register list (continued) configuration register name type register address hex HFA3824
4- 10 tx port the transmit data port accepts the data that needs to be transmitted serially from an external data source. the data is modulated and transmitted as soon as it is received from the external data source. the serial data is input to the HFA3824 through txd using the falling edge of txclk to clock it in the HFA3824. txclk is an output from the HFA3824. a timing scenario of the transmit signal handshakes and sequence is shown on timing diagram figures 5 and 6. the external processor initiates the transmit sequence by asserting tx_pe. tx_pe envelopes the transmit data packet on txd. the HFA3824 responds by generating txclk to input the serial data on txd. txclk will run until tx_pe goes back to its inactive state indicating the end of the data packet. there are two possible transmit scenarios. one scenario is when the HFA3824 internally generates the preamble and header information. during this mode the external source needs to provide only the data portion of the packet. the timing diagram of this mode is illustrated on fig- ure 6. when the HFA3824 generates the preamble inter- nally, assertion of tx_pe will initialize the generation of the preamble and header. tx_rdy, which is an output from the HFA3824, is used to indicate to the external processor that the preamble has been generated and the device is ready to receive the data packet to be transmitted from the external processor. the tx_rdy timing is programmable in case the external processor needs several clocks of advanced notice before actual data transmission is to begin. the second transmit scenario supported by the HFA3824 is when the preamble and header information are provided by the external data source. during this mode tx_rdy is not required as part of the tx handshake. the HFA3824 will immediately start transmitting the data available on txd upon assertion of tx_pe. the timing diagram of this tx sce- nario, where the preamble and header are generated exter- nal to the HFA3824, is illustrated on figure 5. one other signal that can be used for certain applications as part of the tx interface is the clear channel assessment (cca) signal which is an output from the HFA3824. the cca is programmable and it is described with more detail in the transmitter section of this document. cca provides the indication that the channel is clear of energy and the trans- mission will not be subject to collisions. cca can be moni- tored by the external processor to assist in deciding when to initiate transmissions. the cca indication can bypassed or ignored by the external processor. the state of the cca does not effect the transmit operation of the HFA3824. tx_pe alone will always initiate the transmit state indepen- dent of the state of cca. signals tx_rdy, tx_pe and txclk can be set individually, by programming configuration register (cr) 9, as either active high or active low signals. the transmit port is completely independent from the opera- tion of the other interface ports including the rx port, there- fore supporting a full duplex mode. txclk tx_pe txd preamble - header msb of last header field lsb data packet msb dummy bits to clear mod path note: preamble/header and data is transmitted lsb first tx_rdy is inactive logic 0 when generated externally. txd shown generate d from rising edge txclk. figure 5. tx port timing (external preamble) msb of last header field lsb data packet msb dummy bits to clear mod path txclk tx_pe txd tx_rdy note: preamble/header and data is transmitted lsb first tx_rdy is inactive logic 0 when generated externally. txd shown generate d from rising edge txclk. figure 6. tx port timing (internal preamble) HFA3824
4- 11 rx port the timing diagram figure 7 illustrates the relationships between the various signals of the rx port. the receive data port serially outputs the demodulated data from rxd. the data is output as soon as it is demodulated by the HFA3824. rx_pe must be at its active state throughout the receive operation. when rx_pe is inactive the device's receive functions, including acquisition, will be in a stand by mode. rxclk is an output from the HFA3824 and is the clock for the serial demodulated data on rxd. md_rdy is an output from the HFA3824 and it envelopes the valid data on rxd. the HFA3824 can be also programmed to ignore error detections during the ccitt - crc 16 check of the header fields. if programmed to ignore errors the device continues to output the demodulated data in its entirety regardless of the ccitt - crc 16 check result. this option is pro- grammed through cr 2, bit 5. note that rxclk becomes active after acquisition, well before valid data begins to appear on rxd and md_rdy is asserted. md_rdy returns to its inactive state under the fol- lowing conditions: ? the number of data symbols, as defined by the length field in the protocol, has been received and output through rxd in its entirety (normal condition). ? pn tracking is lost during demodulation. ? rx_pe is deactivated by the external controller. md_rdy and rxclk can be configured through cr 9, bit 6-7 to be active low, or active high. energy detect (ed) pin 45 (test port), and carrier sense (crs) pin 46 (test port), are available outputs from the HFA3824 and can be useful signals for an effective rx interface design. use of these signals is optional. crs and ed are further described within this document. the receive port is completely independent from the operation of the other interface ports including the tx port, supporting therefore a full duplex mode. i/q adc interface the prism baseband processor chip (HFA3824) includes two 3-bit analog to digital converters (adcs) that sample the analog input from the if down converter. the i/q adc clock, mclk, samples at twice the chip rate. the maximum sam- pling rate is 44mhz (power supply: 3.3v to 5.0v) or 33mhz (power supply 2.7v to 5.5v). the interface specifications for the i and q adcs are listed in table 2. the voltages applied to pin 16,v refp and pin 17, v refn set the references for the internal i and q adc converters. in addition, v refp is also used to set the rssi adc converter reference. for a nominal 500mv p-p , the suggested v refp voltage is 1.75v, and the suggested v refn is 0.93v. v refn should never be less than 0.25v. since these adcs are intended to sample ac voltages, their inputs are biased internally and they should be capacitively coupled. the adc section includes a compensation (calibration) cir- cuit that automatically adjusts for temperature and compo- nent variations of the rf and if strips. the variations in gain of limiters, agc circuits, filters etc. can be compensated for up to 4db. without the compensation circuit, the adcs could see a loss of up to 1.5 bits of the 3 bits of quantization. the adc calibration circuit adjusts the adc reference volt- ages to maintain optimum quantization of the if input over this variation range. it works on the principle of setting the reference to insure that the signal is at full scale (saturation) a certain percentage of the time. note that this is not an agc and it will compensate only for slow variations in signal lev- els (several seconds). table 2. i, q, adc specifications parameter min typ max full scale input voltage (v p-p ) 0.25 0.50 1.0 input bandwidth (-0.5db) - 20mhz - input capacitance (pf) - 5 - input impedance (dc) 5k ? -- fs (sampling frequency) - - 44mhz rxclk rx_pe crs (test 7) md_rdy rxd processing lsb data msb preamble/header note: md_rdy active after crc16. figure 7. rx port timing HFA3824
4- 12 the procedure for setting the adc references to accommo- date various input signal voltage levels is to set the refer- ence voltages so that the adc calibration circuit is operating at half scale. this leaves the maximum amount of adjust- ment room for circuit tolerances. figure 8 illustrates the suggested interface configuration for the adcs and the reference circuits. adc calibration circuit and registers the adc compensation or calibration circuit is designed to optimize adc performance for the i and q inputs by main- taining the full 3-bit resolution of the outputs. there are two registers (cr 11 ad_cal_pos and cr 12 ad_cal_neg) that set the parameters for the internal i and q adc calibra- tion circuit. both i and q adc outputs are monitored by the adc calibra- tion circuit and if either has a full scale value, a 24-bit accu- mulator is incremented as defined by parameter ad_cal_pos. if neither has a full scale value, the accumu- lator is decremented as defined by parameter ad_cal_neg. a loop gain reduction is accomplished by using only the 5 msbs out of the 24 bits to drive a d/a converter that adjusts the adcs reference. the compensation adjustment is updated at 2khz rate for a 2 mbps operation. the adc cali- bration circuit is only intended to remove slow component variations. the ratio of the values from the two registers cr11 and cr12 set the probability that either the i or q adc converter will be at the saturation. the probability is set by (ad_cal_pos)/(ad_cal_neg). this also sets the levels so that operation with either noise or dpsk is approximately the same. it is assumed that the rf and if sections of the receiver have enough gain to cause limiting on thermal noise. this will keep the levels at the adc approximately same regardless of whether signal is present or not. the adc calibration voltage is automatically held during transmit in half duplex operation. the adc calibration circuit operation can be defined through cr 1, bits 1 and 0. table 3 illustrates the possible configurations. rssi adc interface the receive signal strength indication (rssi) analog signal is input to a 6-bit adc, indicating 64 discrete levels of received signal strength. this adc measures a dc voltage, so its input must be dc coupled. pin 16 (v refp ) sets the reference for the rssi adc converter. v refp is common for the i and q and rssi adcs. the rssi signal is used as an input to the pro- grammable clear channel assessment algorithm of the HFA3824. the rssi adc output is stored in an 8-bit register (cr10) and it is updated at the symbol rate for access by the external processor to assist in network management. the interface specifications for the rssi adc are listed in table 4 below (v refp = 1.75v). test port the HFA3824 provides the capability to access a number of internal signals and/or data through the test port, pins test 0-7. in addition pin 1 (test_ck) is an output clock that can be used in conjunction with the data coming from the test port outputs. the test port is programmable through configu- ration register (cr5). there are 9 test modes assigned to the prism test port listed in test modes table 5. 0.01 f 0.01 f 3.9k 8.2k 9.1k i q 2v i in q in v refp v refn HFA3824 0.01 f 0.01 f figure 8. interfaces table 3. adc calibration cr 1 bit 0 cr 1 bit 1 adc calibration circuit configuration 0 0 automatic real time adjustment of reference. 0 1 reference set at mid scale. 1 0 reference held at most recent value. 1 1 reference set at mid scale. table 4. rssi adc specifications parameter min typ max full scale input voltage - - 1.15 input bandwidth (0.5db) 1mhz - - input capacitance - 7pf - input impedance (dc) 1m - - table 5. test modes mode description test_clk test (7:0) 0normal operation txclk crs, ed, ?000?, initial detect, reserved (1:0) 1correlator test mode txclk mag (7:0) 2 frequency test mode dclk frq reg (7:0) 3 phase test mode dclk phase (7:0) 4 nco test mode dclk nco phase accum reg 5 sq test mode loadsq sq2 (15:8) phase variance 6bit sync test mode 1 rxclk bit sync accum (7:0) 7bit sync test mode 2 loadsq sq (14:7) bit sync ref- data HFA3824
4- 13 definitions normal - device in the full protocol mode (mode 3). txclk - transmit clock (pn rate). initial detect - indicates that signal quality 1 and 2 (sq1 and sq2) exceed their programmed thresholds. signal qual- ities are a function of phase error and correlator magnitude outputs. ed - energy detect indicates that the rssi value exceeds its programmed threshold. crs - indicates that a signal has been acquired (pn acqui- sition). mag - magnitude output from the correlator. dclk - data symbol clock. frqreg - contents of the nco frequency register. phase - phase of signal after carrier loop correction. nco phaseaccumreg - contents of the nco phase accu- mulation register. loadsq - strobe that samples and updates signal quality, sq1 and sq2 values. sq2 - signal quality measure #2. signal phase variance after removal of data, 8 msbs of most recent 16-bit stored value. rxclk - receive clock (rx sample clock). nominally 22mhz. bitsyncaccum - real time monitor of the bit synchroniza- tion accumulator contents, mantissa only. sq1 - signal quality measure #1. contents of the bit sync accumulator 8 msbs of most recent 16-bit stored value. a/d_cal_ck - clock for applying a/d calibration corrections. adcal - 5-bit value that drives the d/a adjusting the a/d reference. external agc control the adc cal output (pin 26) is a binary signal that fluctuates between logic levels as the signals in the i and q channels are either at full scale or not. if the input level is too high, this output will have a higher duty cycle, and visa versa. thus, this signal could be integrated with an r-c filter to develop an agc control voltage. the agc feedback should be designed to drive it to 50% duty cycle. in the case that an external agc is in use then the adc calibration circuit must not be programmed for automatic level adjustment. power down modes the power consumption modes of the HFA3824 are con- trolled by the following control signals. receiver power enable (rx_pe,pin 33), which disables the receiver when inactive. transmitter power enable (tx_pe, pin 2), which disables the transmitter when inactive. reset (reset , pin 28), which puts the receiver in a sleep mode when it is asserted at least 2 mclks after rx_pe is set at its inactive state. the power down mode where, both reset and rx_pe are used is the lowest possible power consumption mode for the receiver. exiting this mode requires a maximum of 10 s before the device is back at its operational mode. the contents of the configuration registers is not effected by any of the power down modes. no reconfiguration is required when returning to operational modes. table 6 describes the power down modes available for the HFA3824 (v cc = 3.5v). the table values assume that all other inputs to the part (mclk, sclk, etc.) continue to run except as noted and the rssi converter is disabled. 8a/d cal test mode a/d cal_ck crs, ed, ?0?, adcal (4:0) 9reserved 10 (0ah) reserved 11 reserved 12 reserved 13 reserved 14 correlator test mode 2 rxclk mag (7:0) 15 reserved table 5. test modes (continued) mode description test_clk test (7:0) table 6. power down modes rx_pe tx_pe reset 22mhz 44mhz device state inactive inactive active 22ma 44ma both transmit and receive functions disabled. device in sleep mode. control interface is still active. register values are maintained. device will return to its active state within 10 s. inactive inactive inactive 30ma 48ma both transmit and receive operations disabled. device will become in its active state within 1 s. inactive active inactive 32ma 50ma receiver operations disabled. receiver will return in its active state with- in 1 s. active inactive inactive 32ma 50ma transmitter operations disabled. transmitter will return to its active state within 2 mclks. i cc standby 300 a all inputs at v cc or gnd. HFA3824
4- 14 reset the reset signal is used during the power down mode as described in the power down mode section. the reset does not impact any of the internal configuration registers when asserted. reset does not set the device in a default configuration, the HFA3824 must always be programmed on power up. the HFA3824 can be programmed with reset in any state. transmitter description the HFA3824 transmitter is designed as a direct sequence spread spectrum dbpsk/dqpsk modulator. it can handle data rates of up to 4 mbps (refer to ac and dc specifica- tions). the major functional blocks of the transmitter include a network processor interface, dbpsk/dqpsk modulator, a data scrambler and a pn generator, as shown on figure 9. the transmitter has the capability to either generate its own synchronization preamble and header or accept the pream- ble and header information from an external source. in the first case, the transmitter knows when to make the dbpsk to dqpsk switchover, as required. the preamble and header are always transmitted as dbpsk waveforms while the data packets can be configured to be either dbpsk or dqpsk. the preamble is used by the receiver to achieve initial pn synchronization while the header includes the necessary data fields of the communica- tions protocol to establish the physical layer link. there is a choice of four potential preamble/header formats that the HFA3824 can generate internally. these formats are referred to as mode 0, 1, 2 and 3. mode 0 uses the minimum number of available header fields while mode 3 is a full pro- tocol mode utilizing all available header fields. the number of the synchronization preamble bits is programmable. the transmitter accepts data from the external source, scrambles it, differentially encodes it as either dbpsk or dqpsk, and mixes it with the bpsk pn spreading. the baseband digital signals are then output to the external if modulator. the transmitter includes a programmable pn generator that can provide 11, 13, 15 or 16 chip sequences. the transmitter also contains a programmable clock divider circuit that allows for various data rates. the master clock (mclk) can be a maximum of 44mhz. the chip rates are programmed through cr3 for tx and cr2 for rx. in addition the data rate is a function of the sample clock rate (mclk) and the number of pn bits per symbol. the following equations show the symbol rate for both tx and rx as a function of mclk, chips per symbol and n. n is a programmable parameter through configuration regis- ters cr 2and cr 3. the value of n is 2, 4, 8 or 16. n is used internally to divide the mclk to generate other required clocks for proper operation of the device. symbol rate = mclk/(n x chips per symbol). the bit rate table 7 shows examples of the relationships expressed on the symbol rate equation. the modulator is capable of switching rate automatically in the case where the preamble and header information are dbpsk modulated, and the data is dqpsk modulated. the modulator is completely independent from the demodu- lator, allowing the prism baseband processor to be used in full duplex operation. tx_i_out tx_q_out spreader tx_spread_stq 16 shift reg pn generator processor interface packet format/ tx_data dbpsk/dqpsk differential encoder shift reg tx_bit_ck scram_taps scrambler tx_chip_ck tx_scram_seed 7 7 7 7 crc-16 control port tx port i out q out figure 9. modulator diagram HFA3824
4- 15 header/packet description the HFA3824 is designed to handle continuous or pack- etized direct sequence spread spectrum (dsss) data transmissions. the HFA3824 can generate its own preamble and header information or it can accept them from an exter- nal source. when preamble and header are internally generated the device supports a synchronization preamble up to 256 sym- bols, and a header that can include up to five fields. the pre- amble size and all of the fields are programmable. when internally generated the preamble is all 1's (before entering the scrambler). the actual transmitted pattern of the pream- ble will be randomized by the scrambler if the user chooses to utilize the data scrambling option. when the preamble is externally generated the user can choose any desirable bit pattern. note though, that if the pre- amble bits will be processed by the scrambler which will alter the original pattern unless it is disabled. the preamble is always transmitted as a dbpsk waveform with a programmable length of up to 256 symbols long. the HFA3824 requires at least 126 preamble symbols to acquire in a dual antenna configuration (diversity), or a minimum of 78 preamble symbols to acquire under a single antenna con- figuration. the exact number of necessary preamble sym- bols should be determined by the system designer, taking into consideration the noise and interference requirements in conjunction with the desired probability of detection vs prob- ability of false alarm for signal acquisition. the five available fields for the header are: sfd field (16 bits) - this field carries the id to establish the link. this is a mandatory field for the HFA3824 to estab- lish communications. the HFA3824 will not declare a valid data packet, even if it pn acquires, unless it detects the spe- cific sfd. the sfd field is required for both internal pream- ble/header generation and external preamble/header generation. the HFA3824 receiver can be programmed to time out searching for the sfd. the timer starts counting the moment that initial pn synchronization has been established from the preamble. signal field (8 bits) - this field indicates whether the data packet that follows the header is modulated as dbpsk or dqpsk. in mode 3 the HFA3824 receiver looks at the signal field to determine whether it needs to switch from dbpsk demodulation into dqpsk demodulation at the end of the always dbpsk preamble and header fields. service field (8 bits) - this field can be utilized as required by the user. length field (16 bits) - this field indicates the number of data symbols contained in the data packet. the receiver can be programmed to check the length field in determining when it needs to de-assert the md_rdy interface signal. md_rdy envelopes the received data packet as it is being output to the external processor. ccitt - crc 16 field (16 bits) - this field includes the 16- bit ccitt - crc 16 calculation of the five header fields. this value is compared with the ccitt - crc 16 code calculated at the receiver. the HFA3824 receiver can be programmed to drop the link upon a ccitt - crc 16 error or it can be programmed to ignore the error and to continue with data demodulation. the crc or cyclic redundancy check is a ccitt crc-16 fcs (frame check sequence). it is the ones compliment of the remainder generated by the modulo 2 division of the protected bits by the polynomial: x 16 + x 12 + x 5 + 1 the protected bits are processed in transmit order. all crc calculations are made prior to data scrambling. a shift regis- ter with two taps is used for the calculation. it is preset to all ones and then the protected fields are shifted through the register. the output is then complemented and the residual shifted out msb first. when the HFA3824 generates the preamble and header inter- nally it can be configured into one of four link protocol modes. mode 0 - in this mode the preamble is programmable up to 256 bits (all 1's) and the sfd field is the only field utilized for the header. this mode only supports dbpsk transmissions for the entire packet (preamble/header and data). mode 1 - in this mode the preamble is programmable up to 256 bits (all 1's) and the sfd and ccitt - crc 16 fields are used for the header. the data that follows the header can be either dbpsk or dqpsk. the receiver and transmitter must be pro- grammed to the proper modulation type. table 7. bit rate table examples for mclk = 44mhz data modulation adc sample clock (mhz) tx setup cr 3 bits 4, 3 rx set up cr 2 bits 4, 3 data rate for 11 chips/bit (mbps) data rate for 13 chips/bit (mbps) data rate for 15 chips/bit (mbps) data rate for 16 chips/bit (mbps) dqpsk 44 00 (n = 2) 00 4 3.385 2.933 2.75 dqpsk 22 01 (n = 4) 01 2 1.692 1.467 1.375 dqpsk 11 10 (n = 8) 10 1 0.846 0.733 0.688 dqpsk 5.5 11 (n = 16) 11 0. 5 0.423 0.367 0.344 dbpsk 44 00 (n = 2) 00 2 1.692 1.467 1.375 dbpsk 22 01 (n = 4) 01 1 0.846 0.733 0.688 dbpsk 11 10 (n = 8) 10 0.5 0.423 0.367 0.344 dbpsk 5.5 11 (n = 16) 11 0.25 0.212 0.183 0.171 HFA3824
4- 16 mode 2 - in this mode the preamble is programmable up to 256 bits (all 1's) and the sfd, length field, and ccitt - crc 16 fields are used for the header. the data that follows the header can be either dbpsk or dqpsk. the receiver and transmitter must be programmed to the proper modulation type. mode 3 - in this mode the preamble is programmable up to 256 bits (all 1's). the header in this mode is using all avail- able fields. in mode 3 the signal field defines the modula- tion type of the data packet (dbpsk or dqpsk) so the receiver does not need to be preprogrammed to anticipate one or the other. in this mode the device checks the signal field for the data packet modulation and it switches to dqpsk if it is defined as such in the signal field. note that the preamble and header are always dbpsk the modula- tion definition applies only for the data packet. this mode is called the full protocol mode in this document. figure 10 summarizes the four preamble/head or modes. in the case that the device is configured to accept the preamble and header from an external source it still needs to be configured in one of the four modes (0:3). even though the HFA3824 trans- mitter does not generate the preamble and header information the receiver needs to know the mode in use so it can proceed with the proper protocol and demodulation decisions. the following configuration registers (cr)are used to program the preamble/header functions, more programming details about these registers can be found in the control registers section of this document: cr 0 - defines one of the four modes (bits 4, 3) for the tx. defines whether the sfd timer is active (bit 2). defines whether the receiver should stop demodulating after the number of sym- bols indicated in the length field has been met. cr 2 - defines to the receiver one of the four protocol modes (bits 1, 0). indicates whether any detected ccitt - crc 16 errors need to reset the receiver (return to acquisition) or to ignore them and continue with demodulation (bit 5). specifies a 128-bit preamble or an 80-bit preamble (bit 2). cr 3 - defines internal or external preamble generation (bit 2). indicates to the receiver the data packet modulation (bit 0), note that in mode 3 the contents of this register are overwritten by the information in the received signal field of the header. cr 3 specifies the data modulation type used to the transmitter (bit 1). bit 1 defines the contents of the signaling field in the header to indicate either dbpsk or dqpsk modulation. cr 41 - defines the length of time that the demodulator searches for the sfd before returning to acquisition. cr 42 - the contents of this register indicate that the transmit- ted data is dbpsk. if cr 4-bit 1 is set to indicate dbpsk mod- ulation then the contents of this register are transmitted in the signal field of the header. cr 43 - the contents of this register indicates that the transmit- ted data is dqpsk. if cr 4-bit 1 is set to indicate dqpsk mod- ulation then the contents of this register are transmitted in the signal field of the header. cr 44, 45, 46, 47, 48 - status, read only, registers that indicate the service field, data length field and ccitt - crc 16 field val- ues of the received header. cr 49, 50 - defines the transmit sfd field value of the header. the receiver will always search to detect this value before it declares a valid data packet. cr 51 - defines the contents of the transmit service field. cr 52, 53 - defines the value of the transmit data length field. this value includes all symbols following the last header field symbol. cr 54,55 - status, read only, registers indicating the calculated ccitt - crc 16 value of the most recently transmitted header. cr 56 - defines the number of preamble synchronization bits that need to be transmitted when the preamble is internally gen- erated. these symbols are used by the receiver for initial pn acquisition and they are followed by the header fields. the full protocol requires a setting of 128d = 80h. for other applications, in general increasing the preamble length will improve low signal to noise acquisition performance at the cost of greater link overhead. for dual receive antenna opera- tion, the minimum suggested value is 128d = 80h. for single receive antenna operation, the minimum suggested value is 80d = 50h. these suggested values include a 2 symbol tx power amplifier ramp up. if an agc is used, its worst case settling time in symbols should be added to these values. pn generator description the spread function for this radio uses short sequences. the same sequence is applied to every bit. all transmitted symbols, preamble/header and data are always spread by the pn sequence at the chip rate. the pn sequence sets the process- ing gain (pg) of the direct sequence receiver. the HFA3824 can be programmed to utilize 11,13,15 and 16 bit sequences. given the length of these programmable sequences the pg range of the HFA3824 is: from 10.41db (10 log(11)) to 12.04db (10 log(16)) header count cr #0 bits bit 4 bit 3 n (preamble) + 16 (header) bits 00 n (preamble) + 32 (header) bits 01 n (preamble) + 48 (header) bits 10 n (preamble) + 64 (header) bits 11 preamble (sync) n bits up to 256) preamble (sync) n bits up to 256) preamble (sync) n bits up to 256) preamble (sync) n bits up to 256) sfd 16 bits sfd 16 bits sfd 16 bits sfd 16 bits crc16 16 bits length field 16 bits signal field 8 bits service field 8 bits crc16 16 bits length field 16 bits crc16 16 bits header preamble figure 10. preamble/header modes HFA3824
4- 17 the transmitter and receiver pn sequences can are pro- grammed independently. this provides additional flexibility to the network designer. the tx sequence is set through cr 13 and cr 14 while the rx pn sequence is set through cr 20 and cr 21. a maximum of 16 bits can be programmed between the pairs of these con- figuration registers. for tx registers cr13 and cr14 contain the high and low bytes of the sequence for the transmitter. in addition bits 5 and 6 of cr 4 define the sequence length in chips per bit. cr 13, cr 14 and cr 4 must all be programmed for proper functionality of the pn generator. the sequence is transmitted msb first. when fewer than 16 bits are in the sequence, the msbs are truncated. scrambler and data encoder description the data coder the implements the desired dqpsk coding as shown in the dqpsk data encoder table. this coding scheme results from differential coding of the dibits. when used in the dbpsk modes, only the 00 and 11 dibits are used. vector rota- tion is counterclockwise. the data scrambler is a self synchronizing circuit. it consist of a 7-bit shift register with feedback from specified taps of the register, as programmed through cr 16. both transmit- ter and receiver use the same scrambling algorithm. all of the bits transmitted are scrambled, including data header and preamble. the scrambler can be disabled. scrambling provides additional spreading to each of the spec- tral lines of the spread ds signal. the additional spreading due to the scrambling will have the same null to null bandwidth, but it will further smear the discrete spectral lines from the pn code sequence. scrambling might be necessary for certain allocated frequencies to meet transmission waveform requirements as defined by various regulatory agencies. in the absence of scrambling, the data patterns could con- tain long strings of ones or zeros. this is definitely the case with the a ds preamble which has a stream of up to 256 continuous ones. the continuous ones would cause the spectrum to be concentrated at the discrete lines defined by the spreading code and potentially cause interference with other narrow band users at these frequencies. additionally, the ds system itself would be moderately more susceptible to interference at these frequencies. with scrambling, the spectrum is more uniform and these negative effects are reduced, in proportion with the scrambling code length. figure 11 illustrates an example of a non scrambled trans- mission using an 11-bit code with dbpsk modulation with alternate 1's and 0's as data. the data rate is 2 mbps while the spread rate or chip rate is at 11 mcps. the 11 spectral lines resulting from the pn code can be clearly seen in fig- ure 11. in figure 12, the same signal is transmitted but with the scrambler being on. in this case the spectral lines have been smeared. another reason to scramble is to gain a small measure of pri- vacy. the ds nature of the signal is easily demodulated with a correlating receiver. indeed, the data modulation can be recovered from one of the discrete spectral lines with a narrow band receiver (with a 10db loss in sensitivity). this means that the signal gets little security from the ds spreading code alone. scrambling adds a privacy feature to the waveform that would require the listener to know the scrambling parameters in order to listen in. when the data is scrambled it cannot be defeated by listening to one of the scrambling spectral lines since the unintentional receiver in this case is too narrow band to recover the data modulation. this assumes though that each user can set up different scrambling patterns there are 9 maximal length codes that can be utilized with a generator of length 7. the different codes can be used to implement a basic privacy scheme. it needs to be clear though that this scrambling code length and the actual properties of such codes are not a major challenge for a sophisticated intentional interceptor to be listening in. this is why we refer to this scrambling advantage as a communications privacy feature as opposed to a secure communications feature. table 8. dqpsk data encoder phase shift dibits 000 +90 01 +180 11 -90 10 center 280mhz res bw 300khz vbw 100khz span 50mhz swp 20ms ref -24dbm atten 10db figure 11. unscrambled dbpsk data of alternate 1?s/0?s spread with an 11-bit sequence center 280mhz res bw 300khz vbw 100khz span 50mhz swp 20ms ref -25dbm atten 10db figure 12. scrambled dbpsk data of alternate 1?s/0?s spread with an 11-bit sequence HFA3824
4- 18 scrambling is done by a polynomial division using a pre- scribed polynomial. a shift register holds the last quotient and the output is the exclusive-or of the data and the sum of taps in the shift register. the taps and seed are programma- ble. the transmit scrambler seed is programmed by cr 15 and the taps are set with cr 16. setting the seed is optional, since the scrambler is self-synchronizing and it will eventu- ally synchronize with the incoming data after flashing the 7 bits stored from the previous transmission. modulator description the modulator is designed to support both dbpsk and dqpsk signals. the modulator is capable of automatically switching its rate in the case where the preamble and header are dbpsk modulated, and the data is dqpsk modulated. the modulator can support date rates up to 4 mbps. the programming details of the modulator are given at the intro- ductory paragraph of this section. the HFA3824 can support data rates of up to 4 mbps (dqpsk) with power supply volt- ages between 3.3v and 5.0v and data rates of up to 3 mbps with supply voltages between 2.7v and 5.5v. clear channel assessment (cca) and energy detect (ed) description the clear channel assessment (cca) circuit implements the carrier sense portion of a carrier sense multiple access (csma) networking scheme. the clear channel assess- ment (cca) monitors the environment to determine when it is feasible to transmit. the result of the cca algorithm is available in real time through output pin 32 of the device. the cca state machine in the HFA3824 can be pro- grammed as a function of rssi, energy detected on the channel, carrier detection, and a number of on board watch- dog timers to time-out under certain conditions. the cca can be also completely by-passed allowing transmissions independent of any channel conditions. the programmable cca in combination with the visibility of the various internal parameters (i.e. energy detection measurement results), can assist an external processor in executing algorithms that can adapt to the environment. these algorithms can increase network throughput by minimizing collisions and reducing transmissions liable to errors. there are two measures that are used in the cca assess- ment. the receive signal strength (rssi) which measures the energy at the antenna and carrier sense early (cse). both indicators are used since interference can trigger the signal strength indication, but it will not trigger the carrier sense. the carrier sense, however, is slower to respond than the signal strength and it becomes active only when a spread signal with identical pn code has been detected, so it is not adequate in itself. note that the cse is also vulnerable to false alarms. the cca looks for changes in these mea- surements and decides its state based on these measures and the time that has elapsed since the channel was last clear. if a source of interference makes it look like the chan- nel is occupied, the circuit will detect a signal without carrier and will wait a proscribed time before deciding to transmit over the interference. the receive signal strength indication (rssi) measurement is an analog input to the HFA3824 from the successive if stage of the radio. the rssi adc converts it within the baseband processor and it compares it to a programmable threshold. this threshold is normally set to between -70 and -80dbm. this measure is used in the acquisition decision and is also passed to the clear channel assessment logic. the state diagram in figure 13 shows the operation of the clear channel assessment state machine. ed < thresh clear cs > thresh ed < thresh cs > thresh ed > thresh ed >thresh cnt = cnt + 1 ed >thresh cs < thresh reset cnt busy busy cnt < n cnt = n reset cnt clear watchdog timer reset on cca = clear reset on m ms timeout reset continuous cca to mac ed cs cca latch holds last decision busy cs< thresh ed < thresh wait for change in ed or cs status or timer timeout figure 13. cca functional flow diagram HFA3824
4- 19 the energy detection (ed) signal is the digitized rssi signal. the cse (carrier sense early) is a signal that goes active when sq1 (antenna dwell) has been satisfied. the cse input and the ed input are differentiated to sense when they change. these change detectors and the watchdog timer time out output are combined to initiate a clear channel assessment decision. the cca algorithm will always declare the channel busy if cse is active. if only ed is active the state machine will ini- tially declare a busy channel and at the same time it will start timing ed until it meets the programmed time out count. when the time out expires the state machine will declare the channel as being clear even if the ed is still active. this will prevent the transmitter locking out perma- nently on some persisting interference. this time out period is programmable by 2 parameters that define an inner count m and an outer count n. the total time out period is determined by the time corresponding to the product of mxn. the value of the inner counter m is programmable through cr 17 while the value of the outer counter n is pro- grammable through cr 18. the state machine cycles m times the n count before it asserts cca, declaring the channel as clear for transmission. note that the counters are automatically reset to restart the count when cse is detected to be active. in summary the cca state machine has four basic states. the first state clears the cca when both the cse and ed are inactive. this indicates that the channel is truly clear. the second state sets the cca to busy when the cse is active and the ed is inactive. this corresponds to a channel where the signal just went away or dropped below threshold but the carrier is still being sensed. the third state sets the cca to busy and resets the cycle counter when the ed and cse are both active. this is an obviously busy channel. the fourth state increments the cycle counter if the cse is inactive and the ed is active, and sets the cca to busy if the count is less than n. this is where the channel has just had a new signal come up and the carrier has not yet been acquired or where an interferer turns on. if the cycle counter reaches n, the counter is reset and the cca is set to clear. this happens on interference that persists. if the channel has interference, it may be low enough to allow communications. the cca state machine does not influence any of the receive or transmit opera- tions within the HFA3824. the cca algorithm output is an indication to the network processor. the processor can ignore this indicator and decide to have the HFA3824 transmit regardless of the state of cca. the configuration registers effecting the cca algorithm opera- tion are summarized below (more programming details on these registers can be found under the control registers sec- tion of this document). the cca output from pin 32 of the device can be defined as active high or active low through cr 9 (bit 5). the rssi threshold is set through cr19. if the actual rssi value from the adc exceeds this threshold then ed becomes active. the instantaneous rssi value can be monitored by the external network processor by reading cr 10. the pro- grammable thresholds on the two signal quality measure- ments are set through cr22, 23, 30, and 31. signal quality 1 threshold derives the state of the carrier sense early indication. more details on sq are included under the receiver section of this document. finally, cr 17 and cr 18 are used to set the time out parame- ters before the cca algorithm declares permission for trans- mission. receiver description the receiver portion of the baseband processor, performs adc conversion and demodulation of the spread spectrum signal. it correlates the pn spread symbols, then demodulates the dbpsk or dqpsk symbols. the demodulator includes a frequency loop that tracks and removes the carrier fre- quency offset. in addition it tracks the symbol timing, and dif- ferentially decodes and descrambles the data. the data is output through the rx port to the external processor. a common practice for burst mode communications systems is to differentially modulate the signal, so that a dpsk demodulator can be used for data recovery. this form of demodulator uses each symbol as a phase reference for the next one. it offers rapid acquisition and tolerance to rapid phase fluctuations at the expense of lower bit error rate (ber) performance. the prism baseband processor, HFA3824 uses differential demodulation for the initial acquisition portion of the process- ing and then switches to coherent demodulation for the rest of the acquisition and data demodulation. the HFA3824 is designed to achieve rapid settling of the carrier tracking loop during acquisition. coherent processing substantially improves the ber performance margin. rapid phase fluctu- ations are handled with a relatively wide loop bandwidth. the baseband processor uses time invariant correlation to strip the pn spreading and polar processing to demodulate the resulting signals. these operations are illustrated in fig- ure 14 which is an overall block diagram of the receiver pro- cessor. input samples from the i and q adc converters are correlated to remove the spreading sequence. the magni- tude of the correlation pulse is used to determine the symbol timing. the sample stream is decimated to the symbol rate and the phase is corrected for frequency offset prior to psk demodulation. phase errors from the demodulator are fed to the nco through a lead/lag filter to achieve phase lock. the variance of the phase errors is used to determine signal quality for acquisition and lock detection. HFA3824
4- 20 acquisition description the prism baseband processor uses either a dual antenna mode of operation for compensation against multipath inter- ference losses or a single antenna mode of operation with faster acquisition times. two antenna acquisition during the 2 antenna (diversity) mode the two antennas are scanned in order to find the one with the best representation of the signal. this scanning is stopped once a suitable signal is found and the best antenna is selected. a projected worst case time line for the acquisition of a sig- nal in the two antenna case is shown in figure 15. the syn- chronization part of the preamble is 128 symbols long followed by a 16-bit sfd. the receiver must scan the two antennas to determine if a signal is present on either one and, if so, which has the better signal. the timeline is broken into 16 symbol blocks (dwells) for the scanning process. this length of time is necessary to allow enough integration of the signal to make a good acquisition decision. this worst case time line example assumes that the signal is present on antenna a1 only (a2 is blocked). it further assumes that the signal arrives part way into the first a1 dwell such as to just barely miss detection. the signal and the scanning process are asynchronous and the signal could start anywhere. in this timeline, it is assumed that all 16 symbols are present, but they were missed due to power amplifier ramp up. since a2 has insufficient signal, the first a2 dwell after the start of the preamble also fails detection. the second a1 dwell after signal start is successful and a symbol timing measurement is achieved. meanwhile signal quality and signal frequency measure- ments are made simultaneous with symbol timing measure- ments. when the bit sync level, sq1, and phase variance sq2 are above their user programmable thresholds, the sig- nal is declared present for the antenna with the best signal. more details on the signal quality estimates and their pro- grammability are given in the acquisition signal quality parameters section of this document. at the end of each dwell, a decision is made based on the rel- ative values of the signal qualities of the signals on the two antennas. in the example, antenna a1 is the one selected, so the recorded symbol timing and carrier frequency for a1 are used thereafter for the symbol timing and the pll of the nco to begin carrier de-rotation and demodulation. prior to initial acquisition the nco was inactive and dpsk demodulation processing was used. carrier phase measure- ment are done on a symbol by symbol basis afterward and coherent dpsk demodulation is in effect. after a brief setup time as illustrated on the timeline of figure 15, the signal begins to emerge from the demodulator. if the descrambler is used it takes 7 more symbols to seed the descrambler before valid data is available. this occurs in time for the sfd to be received. at this time the demodulator is tracking and in the coherent psk demodulation mode it will no longer scan antennas. one antenna acquisition when only one antenna is being used, the user can delete the antenna switch and shorten the acquisition sequence. figure 16 shows the single antenna acquisition timeline. it uses a 78 symbol sequence with 2 more for power ramping of the rf front of the radio. this scheme deletes the second antenna dwells but performs the same otherwise. it verifies the signal after initial detection for lower false alarm probability. acquisition signal quality parameters two measures of signal quality are used to determine acqui- sition and drop lock decisions. the first method of determin- ing signal presence is to measure the correlator output (or bit sync) amplitude. this measure, however, flattens out in the range of high ber and is sensitive to signal amplitude. the second measure is phase noise and in most ber scenarios it is a better indication of good signals plus it is insensitive to signal quality 1 correlator 16tap magnitude and phase distribution a/d section a/d section correlator 16tap data descram dif dec psk demod phase rotate timing avg phase freq. avg phase error abs phase error signal quality 2 symbol timing i q symbol timing nco lead /lag filter control rxd figure 14. demodulator block diagram HFA3824
4- 21 signal amplitude. the bit sync amplitude and phase noise are integrated over each block of 16 symbols used in acqui- sition or over blocks of 128 symbols in the data demodula- tion mode. the bit sync amplitude measurement represents the peak of the correlation out of the pn correlator. figure 17 shows the correlation process. the signal is sampled at twice the chip rate (i.e. 22 msps). the one sample that falls closest to the peak is used for a bit sync amplitude sample for each symbol. this sample is called the on-time sample. high bit sync amplitude means a good signal. the early and late samples are the two adjacent samples and are used for tracking. the other signal quality measurement is based on phase noise and that is taken by sampling the correlator output at the correlator peaks. the phase changes due to scrambling are removed by differential demodulation during initial acquisition. then the phase, the phase rate and the phase variance are measured and integrated for 16 symbols. the phase variance is used for the phase noise signal quality measure. low phase noise means a stronger received signal. procedure to set acq. signal quality parameters (example) there are four registers that set the acquisition signal quality thresholds, they are: cr 22, 23, 30, and 31 (rx_sqx_in_acq). each threshold consists of two bytes, high and low that hold a 16-bit number. these two thresholds, bit sync amplitude cr (22 and 23) and phase error cr (30 and 31) are used to determine if the desired signal is present. if the thresholds are set too ?low?, there is the probability of missing a high signal to noise detection due to processing a false alarm. if they are set too ?high?, there is the probability of missing a low signal to noise detection. for the bit sync amplitude, ?high? actually means high amplitude while for phase noise ?high? means high snr or low noise. a recommended procedure is to set these thresholds individ- ually optimizing each one of them to the same false alarm rate with no desired signal present. only the background environment should be present, usually additive gaussian white noise (agwn). when programming each threshold, the other threshold is set so that it always indicates that the signal is present. set register cr22 to 00h while trying to determine the value of the phase error signal quality thresh- old for registers cr 30 and 31. set register cr30 to ffh while trying to determine the value of the bit sync. amplitude signal quality threshold for registers 22 and 23. monitor the carrier sense (crs) output (test 7, pin 46) and adjust the threshold to produce the desired rate of false detections. crs indicates valid initial pn acquisition. after both thresh- olds are programmed in the device the crs rate is a logic ?and? of both signal qualities rate of occurrence over their respective thresholds and will therefore be much lower than either. 16 symbols 126 symbol sync sfd just missed det ant1 symb timing detect ant1 check ant2 tx power ramp no sig found ant2 16 symbols 16 symbols 16 symbols 16 symbols 16 symbols 16 symbols 7s 16 symbols ba babab b detect ant1 sfd det start data seed descrambler 7s check ant2 internal set up time verify ant1 2 notes: 3. worst case timing; antenna dwell starts before signal is full strength. 4. time line shown assumes that antenna 2 gets insufficient signal. figure 15. dual antenna acquisition timeline 2 16 symbols 78 symbol sync sfd just missed det detect tx power ramp 16 symbols 16 symbols 16 symbols 7 sym 16 symbols symb timing verify sfd det start data seed descrambler 7 sym internal set up time figure 16. single antenna acquisition timeline HFA3824
4- 22 pn correlator description the pn correlator is designed to handle bpsk spreading with carrier offsets up to 50ppm and 11,13,15 or 16 chips per symbol. since the spreading is bpsk, the correlator is implemented with two real correlators, one for the i and one for the q channel.the same sequence is always used for both i an q correlators. the tx sequence can be pro- grammed as a different sequence from the rx sequence. this allows a full duplex link with different spreading parame- ters for each direction. the correlators are time invariant matched filters otherwise known as parallel correlators. they use two samples per chip. the correlator despreads the samples from the chip rate back to the original data rate giving 10.4db processing gain for 11 chips per bit. while despreading the desired sig- nal, the correlator spreads the energy of any non correlating interfering signal. based on the fact that correlator output pulse is used for bit timing, the HFA3824 can not be used for any non spread applications. in programming the correlator functions, there are two sets of configuration registers that are used to program the spread sequences of the transmitter and the receiver. they are cr 13 and 14 for transmitter and cr 20 and 21 for the receiver. in addition, cr2 and cr3 define the sequence length or chips per symbol for the receiver and transmitter respectively. these are carried in bits 6 and 7 of cr2 and bits 5 and 6 of cr3. more programming details are given in the control registers section of this document. data demodulation and tracking description the signal is demodulated from the correlation peaks tracked by the symbol timing loop (bit sync). the frequency and phase of the signal is corrected from the nco that is driven by the phase locked loop. demodulation of the dpsk data in the early stages of acquisition is done by delay and subtraction of the phase samples. once phase locked loop tracking of the carrier is established, coherent demodulation is enabled for better performance. averaging the phase errors over 16 symbols gives the necessary frequency infor- mation for proper nco operation. the signal quality is taken as the variance in this estimate. there are two signal quality measurements that are per- formed in real time by the device and they set the demodula- tor performance. the thresholds for these signal quality measurements are user programmable. the same two sig- nal quality measures, phase error and bit sync. amplitude, that are used in acquisition are also used for the data drop lock decision. the data thresholds, though, are programmed independently from the acquisition thresholds. if the radio uses the network processor to determine when to drop the signal, the thresholds for these decisions should be set to their limits allowing data demodulation even with poor signal reception. under this configuration the HFA3824 data moni- tor mechanism is essentially bypassed and data monitoring becomes the responsibility of the network processor. these signal quality measurements are integrated over 128 symbols as opposed to 16 symbol intervals for acquisition, so the minimum time to drop lock based with these thresh- olds is 128 symbols or 128ms at 1 msps. note that other than the data thresholds, non-detection of the sfd can cause the HFA3824 to drop lock and return its acquisition mode. configuration register 41 sets the search timer for the sfd. this register sets this time-out length in symbols for the receiver. if the time out is reached, and no sfd is found, the receiver resets to the acquisition mode. the suggested value is preamble symbols + 16 symbols. if several transmit pream- ble lengths are used by various transmitters in a network, the longest value should be used for the receiver settings. procedure to set signal quality registers cr 26, 27, 34, and 35 (rx_sqx_in_data) are pro- grammed to hold the threshold values that are used to drop lock if the signal quality drops below their values. these can be set to their limit values if the external network processor is used for drop lock decisions instead of the HFA3824 demodulator. the signal quality values are averaged over 128 symbols and if the bit sync amplitude value drops below its threshold or the phase noise rises over its threshold, the t0 + 1 s correlator correlation peak t0 + 2 s t0 correlator output is the result of correlating the pn sequence with the received signal samples at 2x chip rate early on-time late output repeats correlation time figure 17. correlation process HFA3824
4- 23 link is dropped and the receiver returns to the acquisition mode. these values should typically be different for bpsk and qpsk since the operating point in snr differs by 3db. if the receiver is intended to receive both bpsk and qpsk modulations, a compromise value must be used or the net- work processor can control them as appropriate. the suggested method of optimization is to set the transmit- ter in a continuous transmit mode. then, measure the time until the receiver drops lock at low signal to noise ratio. each of the 2 thresholds should be set individually to the same drop lock time. while setting thresholds for one of the signal qualities the other should be configured at its limit so it does not influence the drop lock decisions. set cr 26 to 00h while determining the value of cr 34 and 35 for phase error threshold. set cr 34 to ffh while determining the value of cr 26 and 27 for bit sync. amplitude threshold. assuming a 10e-6 ber operating point, it is suggested that the drop lock thresholds are set at 10e-3 ber, with each threshold adjusted individually. note that the bit sync amplitude is linearly proportional to the signal amplitude at the adc converters. if an agc system is being used instead of a limiter, the bit sync amplitude thresh- old should be set at or below the minimum amplitude that the radio will see at its sensitivity level. data decoder and descrambler description the data decoder that implements the desired dqpsk cod- ing/decoding as shown in dqpsk data decoder table 9. this coding scheme results from differential coding of the dibits. when used in the dbpsk modes, only the 00 and 11 dibits are used. vector rotation is counterclockwise. the data scrambler and de-scrambler are self synchronizing circuits. they consist of a 7-bit shift register with feedback of some of the taps of the register. the scrambler can be dis- abled for measuring rf carrier suppression. the scrambler is designed to insure smearing of the discrete spectrum lines produced by the pn code. one thing to keep in mind is that both the differential decod- ing and the descrambling when used cause error extension. this causes the errors to occur in groups of 4 and 6. this is due to two properties of the processing. first, the differential decoding process causes errors to occur in pairs. when a symbol error is made, it is usually a single bit error even in qpsk mode. when a symbol is in error, the next symbol will also be decoded wrong since the data is encoded in the change from one symbol to the next. thus, two errors are made on two successive symbols. in qpsk mode, these may be next to one another or separated by up to 2 bits. secondly, when the bits are processed by the descrambler, these errors are further extended. the descrambler is a 7-bit shift register with one or more taps exclusive ored with the bit stream. if for example the scrambler polynomial uses 2 taps that are summed with the data, then each error is extended by a factor of three. since the dpsk errors are close together, however, some of them can be canceled in the descrambler. in this case, two wrongs do make a right, so the observed errors can be in groups of 4 instead of 6. descrambling is done by a polynomial division using a pre- scribed polynomial. a shift register holds the last quotient and the output is the exclusive-or of the data and the sum of taps in the shift register. the taps and seed are programma- ble. the transmit scrambler seed is programmed by cr 15 and the taps are set with cr 16. one reason for setting the seed is that it can be used to make the sfd scrambling the same every packet so that it can be recognized in its scram- bled state. demodulator performance this section indicates the theoretical performance and typi- cal performance measures for a radio design. the perfor- mance data below should be used as a guide. the actual performance depends on the application, interference envi- ronment, rf/if implementation and radio component selec- tion in general. overall eb/n0 versus ber performance the prism chip set has been designed to be robust and energy efficient in packet mode communications. the demodulator uses coherent processing for data demodula- tion. figure 18 below shows the performance of the base- band processor when used in conjunction with the hsp3724 if limiter and the prism recommended if filters. off the shelf test equipment are used for the rf processing. the curves should be used as a guide to assess performance in a complete implementation. factors for carrier phase noise, multipath, and other degra- dations will need to be considered on an implementation by implementation basis in order to predict the overall perfor- mance of each individual system. figure 18 shows the curve for theoretical dbpsk/dqpsk demodulation with coherent demodulation as well as the prism performance measured for dbpsk and dqpsk. the losses include rf and if radio losses; they do not reflect the HFA3824 losses alone. these are more realistic measure- ments. the HFA3824 baseband losses from theoretical by themselves are a small percentage of the overall loss. the prism demodulator performs at less than 3db from theo- retical in a awgn environment with low phase noise local oscillators. the observed errors occurred in groups of 4 and 6 errors and rarely singly. this is because of the error extension properties of differential decoding and descrambling. table 9. dqpsk data decoder phase shift dibits 000 +90 01 +180 11 -90 10 HFA3824
4- 24 clock offset tracking performance the prism baseband processor is designed to accept data clock offsets of up to 25ppm for each end of the link (tx and rx). this effects both the acquisition and the tracking performance of the demodulator. the budget for clock offset error is 0.75db at 50ppm as shown in figure 19. carrier offset frequency performance the correlators in the baseband processor are time invariant matched filter correlators otherwise known as parallel corre- lators. they use two samples per chip and are tapped at every other shift register stage. their performance with car- rier frequency offsets is determined by the phase roll rate due to the offset. for an offset of +50ppm (combined for both tx and rx) will cause the carrier to phase roll 22.5 degrees over the length of the correlator. this causes a loss of 0.22db in correlation magnitude which translates directly to eb/n0 performance loss. in the prism chip design, the corr- elator is not included in the carrier phase locked loop correc- tion, so this loss occurs for both acquisition and data. figure 20 shows the loss versus carrier offset taken out to +350khz (120khz is 50ppm at 2.4ghz). i/q amplitude imbalance imbalances in the signal cause differing effects depending on where they occur. in a system using a limiter, if the imbal- ances are in the transmitter, that is, before the limiter, ampli- tude imbalances translate into phase imbalances between the i and q symbols. if they occur in the receiver after the limiter, they are not converted to phase imbalances in the symbols, but into vector phase imbalances on the composite signal plus noise. the following curve shows data taken with amplitude imbalances in the transmitter. starting at the bal- anced condition, i = 100% of q, the bit error rate degrades by two orders of magnitude for a 3db drop in i (70%). a default register configuration the registers in the HFA3824 are addressed with 14-bit num- bers where the lower 2 bits of a 16-bit hexadecimal address are left as unused. this results in the addresses being in increments of 4 as shown in the table below. table 10 shows the register values for a default full protocol configuration (mode 3) with a single antenna. the data is transmitted as dqpsk. this is a recommended configuration for initial test and verification of the device and /or the radio design. the user can later modify the cr contents to reflect the system and the required performance of each specific application. 1e-09 1e-08 1e-07 1e-06 1e-05 1e-04 1e-03 1e-02 1e-01 15.4 14.4 13.4 12.4 11.4 10.4 9.4 8.4 eb/n0 in db ber theory (dbpsk) dqpsk dbpsk figure 18. ber vs eb/n0 performance 1e-5 1e-4 1e-3 -100 -60 -20 20 60 100 offset in ppm ber figure 19. ber vs clock offset 1e-6 1e-5 1e-4 1e-3 -350 -250 -150 -50 50 150 250 350 frequency offset (khz) ber figure 20. ber vs carrier offset 1e-05 1e-04 1e-03 1e-02 1e-01 100 92 88 80 76 72 percent amplitude balance bit error rate 96 84 68 figure 21. i/q imbalance effects HFA3824
4- 25 table 10. control register values for single antenna acquisition register name type reg addr in hex qpsk bpsk cr0 modem configuration register a r/w 00 3c 64 cr1 modem configuration register b r/w 04 00 00 cr2 modem configuration register c r/w 08 07 24 cr3 modem configuration register d r/w 0c 04 07 cr4 internal test register a r/w 10 00 00 cr5 internal test register b r/w 14 02 02 cr6 internal test register c r 18 x x cr7 modem status register a r 1c x x cr8 modem status register b r 20 x x cr9 i/o definition register r/w 24 00 00 cr10 rssi valuestatus register r 28 x x cr11 adc_cal_pos register r/w 2c 01 01 cr12 adc_cal_neg register r/w 30 fd fd cr13 tx_spread sequence(high) r/w 34 05 05 cr14 tx_spread sequence (low) r/w 38 b8 b8 cr15 scramble_seed r/w 3c 00 00 cr16 scramble_tap (rx and tx) r/w 40 48 48 cr17 cca_timer_th r/w 44 2c 2c cr18 cca_cycle_th r/w 48 03 03 cr19 rssi_th r/w 4c ff ff cr20 rx_spread sequence (high) r/w 50 05 05 cr21 rx_sread sequence (low) r/w 54 b8 b8 cr22 rx_sq1_ in_acq (high) threshold r/w 58 01 01 cr23 rx-sq1_ in_acq (low) threshold r/w 5c e8 e8 cr24 rx-sq1_ out_acq (high) read r 60 x x cr25 rx-sq1_ out_acq (low) read r 64 x x cr26 rx-sq1_ in_data (high) threshold r/w 68 0f 0f cr27 rx-sq1-sq1_ in_data (low) threshold r/w 6c ff ff cr28 rx-sq1_ out_data (high)read r 70 x x HFA3824
4- 26 cr29 rx-sq1_ out_data (low) read r 74 x x cr30 rx-sq2_ in_acq (high) threshold r/w 78 00 00 cr31 rx-sq2- in-acq (low) threshold r/w 7c ca ca cr32 rx-sq2_ out_acq (high) read r 80 x x cr33 rx-sq2_ out_acq (low) read r 84 x x cr34 rx-sq2_in_data (high)threshold r/w 88 09 09 cr35 rx-sq2_ in_data (low) threshold r/w 8c 80 80 cr36 rx-sq2_ out_data (high) read r 90 x x cr37 rx-sq2_ out_data (low) read r 94 x x cr38 rx_sq_read; full protocol r 98 x x cr39 modem configuration register e r/w 9c 5c 5c cr40 reserved w a0 00 00 cr41 uw_time out_length r/w a4 90 90 cr42 sig_dbpsk field r/w a8 0a 0a cr43 sig_dqpsk field r/w ac 14 14 cr44 rx_ser_field r b0 x x cr45 rx_len field (high) r b4 x x cr46 rx_len field (low) r b8 x x cr47 rx_crc16 (high) r bc x x cr48 rx_crc16 (low) r c0 x x cr49 uw -(high) r/w c4 f3 f3 cr50 uw _(low) r/w c8 a0 a0 cr51 tx_ser_f r/w cc 00 00 cr52 tx_len (high) r/w d0 ff ff cr53 tx_len(low) r/w d4 ff ff cr54 tx_crc16 (high) r d8 x x cr55 tx_crc16 (low) r dc x x cr56 tx_prem_len r/w e0 80 80 table 10. control register values for single antenna acquisition (continued) register name type reg addr in hex qpsk bpsk HFA3824
4- 27 control registers the following tables describe the function of each control register along with the associated bits in each control register. configuration register 0 address (0h) modem configuration register a bit 7 this bit selects the transmit antenna, controlling the output ant_sel pin. it is only used in half duplex mode. (bit 5 = 0 ) logic 1 = antenna a. logic 0 = antenna b. bit 6 in single antenna operation this bit is used as the receivers choice of antenna, controlling the output ant_sel pin. in du al antenna mode this bit is ignored. logic 1 = antenna a. logic 0 = antenna b. bit 5 this selects between full and half duplex operation for the ant_sel pin. if set for half duplex the ant_sel pin will refle ct the receivers choice of antenna when tx_pe is inactive, and the value of cr0 bit-7 (tx antenna) when tx_pe is high. in full duplex operation the ant_sel always reflects the receivers choice of antenna as defined by cr2 bit-2 (single or dual antenna mode). logic 1 = full duplex. logic 0 = half duplex. bit 4, 3 these control bits are used to select one of the four input preamble header modes for transmitting data. the preamble a nd header are dbpsk for all modes of operation. mode 0 is followed by dbpsk data. for modes 1-3, the data can be configured as either dbpsk or dqpsk. this is a ?don?t care? if the header is generated externally. bit 2 this control bit is used to enable the sfd (start frame delimiter) timer. if the time is set and expires before the sfd ha s been detected, the HFA3824 will return to its acquisition mode. logic 1: enables the sfd timer to start counting once the pn acquisition has been achieved. logic 0: disables the sfd timer. bit 1 this control bit enables counting the number of data bits per the length field embedded in the header. only used in header modes 2 and 3. then according to the count it returns the processor into its acquisition mode at the end of the count. if lengt h field is 0000h, modem will reset at end of sfd regardless of this bit setting. logic 1 = enable length time out. logic 0 = disabled. bit 0 unused don?t care. configuration register 1 address (04h) modem configuration register b bit 7 when active this bit maintains the rxclk and txlk rates constant for preamble and data transfers even if the data is mod- ulated in dqpsk. this bit is used if the external processor can not accommodate rate changes. this is an active high signal. the rate used is the qpsk rate and the bpsk header bits are double clocked. bit 6, 5, 4, 3, 2 these control bits are used to define a binary count (n) from 0 - 31. this count is used to assert tx_rdy n - clocks (txclk) before the beginning of the first data bit. if this is set to zero, then the tx_rdy will be asserted immediately after the last bit of the preamble header. bit 1 when active the internal a/d calibration circuit sets the reference to mid-scale. when inactive then the calibration circu it ad- justs the reference voltage in real time to optimize i, q levels. logic 1 = reference set at mid-scale (fixed). logic 0 = real time reference adjustment. bit 0 when active the a/d calibration circuit is held at its last value. logic 1 = reference held at the most recent value. logic 0 = real time reference level adjustment. mode bit 4 bit 3 mode description 0 0 0 preamble with sfd field. 1 0 1 preamble with sfd, and crc16. 2 1 0 preamble with sfd, length, and crc16. 3 1 1 full preamble and header. HFA3824
4- 28 configuration register 2 address (08h) modem configuration register c bit 7, 6 these control bits are used to select the number of chips per symbol used in the i and q paths of the receiver matched filter correlators (see table below). bit 5 this control bit is used to disable the crc16 and signal field checks. when set to a one, the processor will accept the re - ceived packet and any packet error checks will have to be detected externally. when set to a zero, the processor will reset itself to the acquisition mode if either the crc16 calculated by the 3824 does not match the crc16 in the header, or the signal field received does not match either of the fields defined for dbpsk or dqpsk as set in cr42 and 43. bit 4, 3 these control bits are used to select the divide ratio for the demodulators receive chip clock timing.the value of n is deter- mined by the following equation: symbol rate = mclk/(n x chips per symbol). bit 2 this bit sets the receiver and antenna control logic for single or dual antenna mode. in single antenna, the required prea mble can be reduced as per figure 16. the ant_sel pin will reflect the receivers choice as per cr0 bit-6. in dual antenna a 126 symbol preamble is required and the ant_sel pin will reflect the receivers choice of the antenna, the antenna that has the best sq2 value at the time a verify has occurred (see figure 15). during acquisition the ant_sel pin will toggle as the receiver performs the algorithm described in figure 15. once verifi- cation has occurred, the ant_sel pin will reflect the receivers choice of antenna until one of the following occurs. 1. chip is in half duplex and tx_pe is taken active. 2. rx_pe transitions from low to high, starting the receiver in acquisition mode (receivers choice will remain on the ant_sel pin when rx_pe is low). in dual antenna mode, if rx_pe is taken low before a verify has occurred, the ant_sel pin will reflect the antenna that has the best stored sq2 valued, if a complete antenna dwell did not take place, the stored sq2 value will be from the last com- pleted antenna dwell. asserting the reset# pin will reset the stored sq2 values. because a low on rx_pe resets the toggle flop, the ant_sel pin will always be high almost immediately after rx_pe rises (less than 50ns), then go low (about 135ns after rx_pe rises). so the first antenna dwell will always be with antenna b se- lected (ant)_sel pin low). logic 0 = acquisition processing is for dual antenna acquisition. logic 1 = acquisition processing is for single antenna acquisition. bit 1, 0 these control bits are used to indicate one of the four preamble header modes for receiving data. each of the modes in- cludes different combinations of header fields. users can choose the mode with the fields that are more appropriate for their networking requirements. the header fields that are combined to form the various modes are: ? sfd field ? crc16 field ? data length field (indicates the number of data bits that follow the header information) ? full protocol header chips per symbol bit 7 bit 6 11 0 0 13 0 1 15 1 0 16 1 1 master clock/n bit 4 bit 3 n = 2 0 0 n = 4 0 1 n = 8 1 0 n = 16 1 1 input mode bit 1 bit 0 receive preamble - header fields 0 0 0 preamble, with sfd field 1 0 1 preamble, with sfd, crc16 2 1 0 preamble, with sfd length, crc16 3 1 1 preamble, with full protocol header HFA3824
4- 29 configuration register 3 address (0ch) modem configuration register d bit 7 this bit determines when md_rdy goes active on a good signal. logic 1 = after sfd logic 0 = after crc bit 6, 5 these control bits combined are used to select the number of chips per symbol used in the i and q transmit paths (see t able below). bit 4, 3 these control bits are used to select the divide ratio for the transmit chip clock timing. note: the value of n is determined by the following equation: symbol rate = mclk/(n x chips per symbol) bit 2 this control bit is used to select the origination of preamble/header information. logic 1: the HFA3824 generates the preamble and header internally by formatting the programmed header information and generating a tx_rdy to indicate the beginning of the data packet. logic 0: accepts the preamble/header information from an externally generated source. when external header is selected the HFA3824 will search the incoming data stream for a match to the sfd. once the sfd is found the transmit header mode selection then is used to determine the end of the header, (the point of rate switching, if required). bit 1 this control bit is used to indicate the signal modulation type for the transmitted data packet. when configured for mode 0 header, or mode 3 and external header, this bit is ignored. see register 0 bits 4 and 3. logic 1 = dbpsk modulation for data packet. logic 0 = dqpsk modulation for data packet. bit 0 this control bit is used to indicate the signal modulation type for the received data packet used only with header modes 1 and 2. see register 2 bits 1 and 0. logic 1 = dbpsk. logic 0 = dqpsk. chips per bit 6 bit 5 11 0 0 13 0 1 15 1 0 16 1 1 master bit 4 bit 3 n = 2 0 0 n = 4 0 1 n = 8 1 0 n = 16 1 1 configuration register 4 address (10h) bit 7 reserved (must set to ?0?) bit 6 enable receiver reset if phase greater than 45 degrees between symbols. useful in continuous qpsk mode to allow modem to drop the link under interference conditions that would not degrade signal quality thresholds sufficiently to drop link but would cause data errors. also prevents receiver acquisition on off frequency signal sidelobes. logic 1 = enabled logic 0 = disable bit 4, 5 reserved (must set to ?0?) bit 3-0 see table 5. test modes configuration register 5 address (14h,18h) internal test register b bits 7 - 0 these bits need to be programmed to 0h. they are used for manufacturing test only. configuration register 7 address (1ch) modem status register a bit 7 this bit indicates the status of the tx_rdy output pin. tx_rdy is used only when the HFA3824 generates the pream- ble/header data internally. logic 1: indicates that the HFA3824 has completed transmitting preamble header information and is ready to accept data from the external source (i.e. mac) to transmit. logic 0: indicates that the HFA3824 is in the process of transmitting preamble header information. HFA3824
4- 30 bit 6 this status bit indicates the status of the ant_sel pin. logic 0: antenna a is selected. logic 1: antenna b is selected. bit 5 this status bit indicates the present state of clear channel assessment (cca) which is output pin 32. the cca is being as- serted as a result of a channel energy monitoring algorithm that is a function of rssi, carrier sense, and time out counters that monitor the channel activity. bit 4 this status bit, when active indicates carrier sense, or pn lock. logic 1: carrier present. logic 0: no carrier sense. bit 3 this status bit indicates whether the rssi signal is above or below the programmed rssi 6-bit threshold setting. this sign al is referred as energy detect (ed). logic 1: rssi is above the programmed threshold setting. logic 0: rssi is below the programmed threshold setting. bit 2 this bit indicates the status of the output control pin md_rdy (pin 34). it signals that a valid preamble/header has been received and that the next available bit on the txd bus will be the first data packet bit. logic 1: envelopes the data packet as it becomes available on pin 3 (txd). logic 0: no data packet on txd serial bus. bit 1 this status bit indicates whether the external device has acknowledged that the channel is clear for transmission. this is the same as the input signal tx_pe on pin 2. logic 1 = acknowledgment that channel is clear to transmit. logic 0 = channel is not clear to transmit. bit 0 this status bit indicates that a valid crc16 has been calculated. the crc16 is calculated on the header information. the crc16 does not cover the preamble bits. this bit is valid even if checking was turned off via bit 5 of cr2. logic 1 = valid crc16 check. logic 0 = invalid crc16 check. configuration register 7 address (1ch) modem status register a (continued) configuration register 8 address (20h) modem status register b bit 7 this status bit indicates if the received signal field matched the contents of either cr42 or 43. this bit is valid even i f checking was turned off via bit 5 of cr2. logic 0 = signal field matched. logic 1 = signal field did not match. bit 6 this bit is used to indicate the status of the sfd search timer. the device monitors the incoming header for the sfd. if t he timer, times out the HFA3824 returns to its signal acquisition mode looking to detect the next preamble and header. logic 1 = sfd not found, return to signal acquisition mode. logic 0 = no time out during sfd search. bit 5 this status bit is used to indicate the modulation type for the data packet. this signal is generated by the header detect ion circuitry in the receive interface. logic 0 = dbpsk. logic 1 = dqpsk. bit 4-0 adcal (4:0) configuration register 9 address (24h) i/o definition register this register is used to define the phase of clocks and other interface signals. bit 7 this controls the phase of the rx_clk output logic 1 = invert clk logic 0 = non-inverted clk bit 6 this control bit selects the active level of the md_rdy output pin 34. logic 1 = md_rdy is active 0. logic 0 = md_rdy is active 1. bit 5 this control bit selects the active level of the clear channel assessment (cca) output pin 32. logic 1 = cca active 1. logic 0 = cca active 0. bit 4 this control bit selects the active level of the energy detect (ed) output which is an output pin at the test port, pin 45 . logic 1 = ed active 0. logic 0 = ed active 1. HFA3824
4- 31 bit 3 this control bit selects the active level of the carrier sense (crs) output pin which is an output pin at the test port, p in 46. logic 1 = crs active 0. logic 0 = crs active 1. bit 2 this control bit selects the active level of the transmit ready (tx_rdy) output pin 5. logic 1 = tx_rdy active 0. logic 0 = tx_rdy active 1. bit 1 this control bit selects the active level of the transmit enable (tx_pe) input pin 2. logic 1 = tx_pe active 0. logic 0 = tx_pe active 1. bit 0 this control bit selects the phase of the transmit output clock (txclk) pin 4. logic 1 = inverted txclk. logic 0 = non-inverted txclk configuration register 9 address (24h) i/o definition register (continued) configuration register 10 address (28h) rssi value register bits 0 - 7 this is a read only register reporting the value of the rssi analog input signal from the on chip 6-bit adc. this reg ister is updated at (chip rate/11). bits 7 and 6 are not used and set to logic 0. example: bits (0:7) range rssi_stat 7 6 5 4 3 2 1 0 0 0 0 0 0 0 0 0 00h (min) 0 0 1 1 1 1 1 1 3fh (max) configuration register 11 address (2ch) a/d cal pos register bits 0 - 7 this 8-bit control register contains a binary value used for positive increment for the level adjusting circuit of th e a/d refer- ence. the larger the step the faster the level reaches saturation. configuration register 12 address (30h) a/d cal neg register bits 0 - 7 this 8-bit control register contains a binary value used for the negative increment for the level adjusting reference of the a/d. the number is programmed as 256 - the value wanted since it is a negative number. configuration register 13 address (34h) tx spread sequence (high) bits 0 - 7 this 8-bit register is programmed with the upper byte of the transmit spreading code. this code is used for both the i and q signalling paths of the transmitter. this register combined with the lower byte tx_spread(low) generates a transmit spreading code programmable up to 16 bits. code lengths permitted are 11, 13, 15, and 16. right justified msb first. some suitable codes length cr13 cr14 type 11 05 b8 barker 13 1f 35 barker 15 1f 35 modified barker 16 1f 35 modified barker configuration register 14 address (38h) tx spread sequence (low) bits 0 - 7 this 8-bit register is programmed with the lower byte of the transmit spreading code. this code is used for the i and q sig- nalling paths of the transmitter. this register combined with the higher byte tx_spread(high) generates the transmit spreading code programmable up to 16 bits. the example below illustrates the bit positioning for one of the 11-bit barker pn codes. example: transmit spreading code 11-bit barker word right justified msb first. msb lsb tx_spread(high) 15 14 13 12 11 10 9 8 tx_spread(low) 76543210 11-bit barker code x x x x x 1 01 10111000 HFA3824
4- 32 configuration register 15 address (3ch) scrambler seed bits 0 - 7 this register contains the 7-bit (seed) value for the transmit scrambler which is used to preset the transmit scrambl er to a known starting state. the msb bit position (7) is unused and must be programmed to a logic 0. the example below illus- trates the bit positioning of seed. configuration register 16 address (40h) scrambler tap bits 0 - 7 this register is used to configure the transmit scrambler with a 7-bit polynomial tap configuration. the transmit scr ambler is a 7-bit shift register, with 7 configurable taps. a logic 1 is the respective bit position enables that particular tap. the msb bit 7 is not used and it is set to a logic 0. the example below illustrates the register configuration for the polynomial f(x) = 1 + x -4 +x -7 . each clock is a shift left lsb bits (0:7) 7 6 5 4 3 2 1 0 xz -7 z -6 z -5 z ?4 z -3 z -2 z -1 scrambler taps f(x) = 1 + x -4 +x -7 0 1 0 0 1 0 0 0 configuration register 17 address (44h) cca timer threshold bits 0 - 7 this 8-bit register is used to configure the period of the time-out threshold of the cca watchdog timer. if the chann el is busy the timer counts until it reaches the programmed value and at that point it declares that the channel is clear independent of the actual energy measured within the channel. this register is programmable up to 8 bits. for example, for a chip rate of 11 mcps and a desired timeout of ~11ms, n = 2ch. time (ms) 1000 n5632 ? chip rate -------------------------- ? , where n is the programmable value of cr17. = lsb bits (0:7) 7 6 5 4 3 2 1 0 0 0 0 0 0 0 1 0 02h (min) cca_timer_th 1 1 1 1 1 1 1 1 ffh (max) configuration register 18 address (48h) cca cycle threshold bits 0 - 7 this 8-bit register is used to configure how many times the cca timer is allowed to reach its maximum count before th e channel is declared clear for transmission independent of the actual energy in the channel. this is an outer counter loop of the cca timer. each increment represents a time out of the cca timer. use a value of 03h for a time out of 2 cca timer counts. msb lsb bits (0:7) 7 6 5 4 3 2 1 0 0 0 0 0 0 0 1 0 2h; 1 cca timer (min) cca_timer_th 1 1 1 1 1 1 1 1 ffh; 256 cca timer (max) configuration register 19 address (4ch) rssi threshold, energy detect bit 7 disable rssi converter, when the rssi function is not needed, the 6 bit a/d converter can be powered down to reduce operating current. logic 1 = disable converter logic 0 = enable converter bits 0 - 6 this register contains the value for the rssi threshold for measuring and generating energy detect (ed). when the rss i exceeds the threshold ed is declared. ed indicates the presence of energy in the channel. the threshold that activates ed is programmable. bit 6 of this register is not used and set to logic 0. to disable the ed signal so that it has no affect on the cca logic, the threshold must be set to a 3fh (all ones). even if bit 7 is a 1. msb lsb bits (0:5) 5 4 3 2 1 0 0 0 0 0 0 0 00h (min) rssi_stat 1 1 1 1 1 1 3fh (max) HFA3824
4- 33 configuration register 20 address (50h) rx spread sequence (high) bits 0 - 7 this 8-bit register is programmed with the upper byte of the receive despreading code. this code is used for both the i and q signalling paths of the receiver. this register combined with the lower byte rx_spred(low) generates a receive de- spreading code programmable up to 16 bits. right justified msb first. see address 13 and 14 for example. configuration register 21 address (54h) rx spread sequence (low) bits 0 - 7 this 8-bit register is programmed with the lower byte of the receiver despreading code. this code is used for both th e i and q signalling paths of the receiver. this register combined with the upper byte rx_spred(high) generates a receive de- spreading code programmable up to 16 bits. configuration register 22 address (58h) rx signal quality 1 acq (high) threshold bits 0 - 7 this control register contains the upper byte bits (8 - 14) of the bit sync amplitude signal quality threshold used f or acquisition. this register combined with the lower byte represents a 15-bit threshold value for the bit sync amplitude signal quality mea- surements made during acquisition at each antenna dwell. this threshold comparison is added with the sq2 threshold in registers 30 and 31 for acquisition. a lower value on this threshold will increase the probability of detection and the probabi lity of false alarm. set the threshold according to instructions in the text. configuration register 23 address (5ch) rx signal quality 1 acq threshold (low) bits 0 - 7 this control register contains the lower byte bits (0 - 7) of the bit sync amplitude signal quality threshold used fo r acquisition. this register combined with the upper byte represents a 15-bit threshold value for the bit sync amplitude signal quality mea- surement made during acquisition at each antenna dwell. configuration register 24 address (60h) rx signal quality 1 acq read (high) bits 0 - 7 this status register contains the upper byte bits (8 - 14) of the measured signal quality threshold for the bit sync amplitude used for acquisition. this register combined with the lower byte represents a 15-bit value, representing the measured bit sync amplitude. this measurement is made at each antenna dwell and is the result of the best antenna. configuration register 25 address (64h) rx signal quality 1 acq read (low) bits 0 - 7 this register contains the lower byte bits (0 - 7) of the measured signal quality threshold for the bit sync amplitud e used for acquisition. this register combined with the higher byte represents a 15-bit value, of the measured bit sync amplitude. this measurement is made at each antenna dwell and is the result of the best antenna. configuration register 26 address (68h) rx signal quality 1 data threshold (high) bits 0 - 7 this control register contains the upper byte bits (8-14) of the bit sync amplitude signal quality threshold used for drop lock decisions. this register combined with the lower byte represents a 15-bit threshold value for the bit sync amplitude signal quality measurements, made every 128 symbols. these thresholds set the drop lock probability. a higher value will increase the probability of dropping lock. configuration register address 27 (6ch) rx signal quality 1 data threshold (low) bits 0 - 7 this control register contains the lower byte bits (0 - 7) of the bit sync amplitude signal quality threshold used fo r drop lock decisions. this register combined with the upper byte represents a 15-bit threshold value for the bit sync amplitude signal quality measurements, made every 128 symbols. configuration register 28 address (70h) rx signal quality 1 data (high) threshold read (high) bits 0 - 7 this status register contains the upper byte bits (8-14) of the measured signal quality of bit sync amplitude used fo r drop lock decisions. this register combined with the lower byte represents a 15-bit value, representing the measured signal quality for the bit sync amplitude. this measurement is made every 128 symbols. configuration register 29 address (74h) rx signal quality 1 data threshold read (low) bits 0 - 7 this register contains the lower byte bits (0-7) of the measured signal quality of bit sync amplitude used for drop l ock deci- sions. this register combined with the lower byte represents a 16-bit value, representing the measured signal quality for the bit sync amplitude. this measurement is made every 128 symbols. configuration register 30 address (78h) rx signal quality 2 acq threshold (high) bits 0 - 7 this control register contains the upper byte bits (8-15) of the carrier phase variance threshold used for acquisitio n. this register combined with the lower byte represents a 16-bit threshold value for carrier phase variance measurement made during acquisition at each antenna dwell and is based on the choice of the best antenna. this threshold is used with the bit sync threshold in registers 22 and 23 to declare acquisition. a higher value in this threshold will increase the probability of acquisition and false alarm. configuration register 31 address (7ch) rx signal quality 2 acq threshold (low) bits 0 - 7 this control register contains the lower byte bits (0-7) of the carrier phase variance threshold used for acquisition . HFA3824
4- 34 configuration register 32 address (80h) rx signal quality 2 acq read (high) bits 0 - 7 this status register contains the upper byte bits (8-15) of the measured signal quality of the carrier phase variance used for acquisition. this register combined with the lower byte generates a 16-bit value, representing the measured signal quality of the carrier phase variance. this measurement is made during acquisition at each antenna dwell and is based on the se- lected best antenna. configuration register 33 address (84h) rx signal quality 2 acq read (low) bits 0 - 7 this status register contains the lower byte bits (0-7) of the measured signal quality of the carrier phase variance used for acquisition. this register combined with the lower byte generates a 16-bit value, representing the measured signal quality of the carrier phase variance. this measurement is made during acquisition at each antenna dwell and is based on the se- lected best antenna configuration register 34 address (88h) rx signal quality 2 data threshold (high) bits 0-7 this control register contains the upper byte bits (8-15) of the carrier phase variance threshold. this register combin ed with the lower byte represents a 16-bit threshold value for the carrier phase variance signal quality measurements made every 128 symbols. configuration register 35 address (8ch) rx signal quality 2 data threshold (low) bits 0-7 this control register contains the lower byte bits (0-7) of the carrier phase variance threshold. this register combine d with the upper byte) represents a 16-bit threshold value for the carrier phase variance signal quality measurements made every 128 symbols. configuration register 36 address (90h) rx signal quality 2 data read (high) bits 0-7 this status register contains the upper byte bits (8-15) of the measured signal quality of the carrier phase variance. this register combined with the lower byte represents a 16-bit value, of the measured carrier phase variance. this measurement is made every 128 symbols. configuration register 37 address (94h) rx signal quality 2 data read (low) bits 0-7 this register contains the lower byte bits (0-7) of the measured signal quality of the carrier phase variance. this reg ister combined with the represents a 16-bit value, of the measured carrier phase variance. this measurement is made every 128 symbols. configuration register address 38 (98h) rx signal quality 8-bit read bits 0 - 7 this 8-bit register contains the bit sync amplitude signal quality measurement derived from the 16-bit bit sync signa l quality value stored in the cr28-29 registers. this value is the result of the signal quality measurement for the best antenna dwell. the signal quality measurement provides 256 levels of signal to noise measurement. configuration register 39 address (9ch) modem configuration register e bit 7 reserved - must set to a zero bit 6 enable length field interpreted in microseconds. this bit determines if the length field in the header is treated as micro sec- onds or bits in the length field counters used in the cca logic and the modem time out circuit. this bit forces the counters to count at the bpsk data rate all the time. logic 1 = count at bpsk rate logic 0 = count bits bit 5 continuous qpsk mode. this allows the receiver to acquire on a qpsk signal (no header is required). signal quality thresh- olds must be satisfied. see cr4 bit 6 logic 1 = continuous qpsk mode logic 0 = normal mode bit 4 only allow quarter chip adjustments during data dwells. recommended set to a one for all modes of operation. logic 1 = enabled logic 0 = duplicate hsp3824 operation bit 3 enable 64 symbol integrations for data dwells. by reducing integration time from 128 to 64 symbols, allows greater inaccu- racies between transmitter and receiver oscillators. thresholds must be adjusted accordingly. logic 1 = 64 symbol integration logic 0 = 128 symbol integration bit 2 enable length field counter in cca operation. this bit enables a counter which will show the channel busy for the time spe cified in the length field (see cr39 bit 6). the counter is only loaded if the crc check passed. the counter is cleared by the reset# pin and thus will show the channel busy until the count expires, even if the modem is reset thru rx_pe or internal means. logic 1 = enable logic 0 = disable HFA3824
4- 35 bit 1 md_rdy active on verify. md_rdy pin go active to indicate completion of antenna dwell beginning of data dwell. no sfd required. relation of md_rdy to rxclk will not be guaranteed. logic 1 = enable logic 0 = disable bit 0 reserved (must set to ?0?) configuration register 39 address (9ch) modem configuration register e configuration register 40 address reserved reserved configuration register 41 address (a4h) sfd search time bits 0 - 7 this register is programmed with an 8-bit value which represents the length of time for the demodulator to search for a sfd in a receive header. each bit increment represents 1 symbol period. configuration register 42 address (a8h) dsbpsk signal bits 0 - 7 this register contains an 8-bit value indicating the data packet modulation is dbpsk. this value will be a oah for fu ll protocol operation at a data rate of 1 mbps, and is used in the transmitted signalling field of the header. this value will also be used for detecting the modulation type on the received header. configuration register 43 address (ach) dqpsk signal bits 0 - 7 this register contains the 8-bit value indicating the data packet modulation is dqpsk. this value will be a 14h for f ull protocol operation at a data rate of 2 mbps and is used in the transmitted signalling field of the header. this value will also be used for detecting the modulation type on the received header. configuration register 44 address (b0h) rx service field (reserved) bits 0 - 7 this register contains the detected received 8-bit value of the service field for the header. this field is reserved for the full protocol mode for future use and should be always a 00h. configuration register 45 address (b4h) rx data length (high) bits 0 - 7 this register contains the detected higher byte (bits 8-15) of the received length field contained in the header. thi s byte combined with the lower byte indicates the number of transmitted bits in the data packet. configuration register 46 address (b8h) rx data length (low) bits 0 - 7 this register contains the detected lower byte of the received length field contained in the header. this byte combin ed with the upper byte indicates the number of transmitted bits in the data packet. configuration register 47 address (bch) rx crc16 (high) bits 0 - 7 this register contains the upper byte bits (8 -15) of the received crc16 field header. this register combined with th e lower byte represents a 16-bit crc16 value protecting transmitted header. the fields protected are selected by configuring the header control bits at configuration register 2. configuration register 48 address (c0h) rx crc16 (low) bits 0 - 7 this register contains the lower byte bits (0-7) of the received crc16 field header. this register combined with the upper byte represents a 16-bit crc16 value protecting transmitted header. the fields protected are selected by configuring the header control bits at configuration register 2. msb lsb rx_crc16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 rx_crc16(high) 7 6 5 4 3 2 1 0 rx_crc16(low) 7 6 5 4 3 2 1 0 note: the receive crc16 field protects the following fields depending upon the mode selection, as defined in configuration register 2. mode 0 crc16 not used mode 1 crc16 protects sfd mode 2 crc16 protects sfd, and length field mode 3 crc16 protects signalling field, service field, and length field configuration register 49 address (c4h) sfd (high) bits 0 - 7 this 8-bit register contains the upper byte bits (8-15) of the sfd used for both the transmit and receive header. thi s register combined with the lower byte represents the 16-bit value for the sfd field. HFA3824
4- 36 configuration register 50 address (c8h) sfd (low) bits 0 - 7 this 8-bit register contains the upper byte bits (0-7) of the sfd used for both the transmit and receive header. this register combined with the lower byte represents the 16-bit value for the sfd field. configuration register 51 address (cch) tx service field bits 0 - 7 this 8-bit register is programmed with the 8-bit value of the service field to be transmitted in a header. this field is reserved for future use and should be always a 00h. configuration register 52 address (d0h) tx data length field (high) bits 0 - 7 this 8-bit register contains the higher byte (bits 8-15) of the transmit length field described in the header. this b yte com- bined with the lower byte indicates the number of bits to be transmitted in the data packet. configuration register 53 address (d4h) tx data length field (low) bits 0 - 7 this 8-bit register contains the lower byte bits (0-7) of the transmit length field described in the header. this byt e com- bined with the higher byte indicates the number of bits to be transmitted in the data packet, including the mac payload header. configuration register 54 address (d8h) tx crc16 (high) bits 0 - 7 this 8-bit register contains the upper byte (bits 8-15) of the transmitted crc16 field for the header. this register combined with the lower byte represents a 16-bit crc16 value calculated by the HFA3824 to protect the transmitted header. the fields protected are selected by configuring the header mode control bits at register address 02. configuration register 55 address (dch) tx crc16 (low) bits 0 - 7 this 8-bit register contains the lower byte (bits 0-7) of the transmitted crc16 field for the header. this register c ombined with the higher byte represents a 16-bit crc16 value calculated by the HFA3824 to protect the transmitted header. the fields protected are selected by configuring the header mode control bits at register address 02. msb lsb rx_crc16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 rx_crc16(high) 7 6 5 4 3 2 1 0 rx_crc16(low) 7 6 5 4 3 2 1 0 note: the receive crc16 field protects the following fields depending upon the mode selection. as defined in register address 02. mode 0 crc16 not used mode 1 crc16 protects sfd mode 2 crc16 protects sfd, and length field mode 3 crc16 protects signalling field, service field, and length field configuration register 56 address (e0h) tx preamble length bits 0 - 7 this register contains the count for the preamble length counter. this counter is programmable up to 8 bits and repre sents the number of preamble bits. this should be set at 50h for 1 antenna and 80h for dual antennas. HFA3824
4- 37 absolute maximum ratings thermal information supply voltage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.0v input, output or i/o voltage . . . . . . . . . . . . gnd -0.5v to v cc +0.5v esd classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . class 2 operating conditions operating voltage range . . . . . . . . . . . . . . . . . . . +2.70v to +5.50v operating temperature range . . . . . . . . . . . . . . . . . -40 o c to 85 o c thermal resistance (typical, note 5) ja ( c/w) tqfp package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 maximum storage temperature range . . . . . . . . . -65 o c to 150 o c maximum junction temperature . . . . . . . . . . . . . . . . . . . . . . . 150 o c maximum lead temperature (soldering 10s) . . . . . . . . . . . . . 300 o c (lead tips only) die characteristics gate count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25,000 gates caution: stresses above those listed in ?absolute maximum ratings? may cause permanent damage to the device. this is a stress o nly rating and operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. note: 5. ja is measured with the component mounted on an evaluation pc board in free air. dc electrical specifications v cc = 3.0v to 5.0v 10%, t a = -40 o c to 85 o c parameter symbol test conditions min typ max units power supply current i ccop v cc = 3.5v, clk frequency 22mhz (notes 6, 7) -3035ma standby power supply current i ccsb v cc = max, outputs not loaded - 1 2.5 ma input leakage current i i v cc = max, input = 0v or v cc -10 1 10 a output leakage current i o v cc = max, input = 0v or v cc -10 1 10 a logical one input voltage v ih v cc = max, min 0.7 v cc -v logical zero input voltage v il v cc = min, max - v cc /3 v logical one output voltage v oh i oh = -1ma, v cc = min v cc -0.4 v cc -.2 - v logical zero output voltage v ol i ol = 2ma, v cc = min - .2 0.4 v input capacitance c in clk frequency 1mhz. all measurements ref- erenced to gnd. t a = 25 o c, note 7 - 5 10 pf output capacitance c out - 5 10 pf notes: 6. output load 30pf. add 8ma if rssi converter enabled. 7. not tested, but characterized at initial design and at major process/design changes. ac electrical specifications v cc = 3.0v to 5.0v 10%, t a = -40 o c to 85 o c, (note 8) parameter symbol 33mhz units min max clk period (mclk) t cp 30 - ns clk high (mclk) t ch 9-ns clk low (mclk) t cl 9-ns setup time to mclk (txd) t s2 10 - ns hold time from mclk (txd) t h2 20 - ns sclk clock period t p 90ns or 2 ? mclk -ns sclk high t h 20 - ns sclk low t l 20 - ns set up to sclk (sd, as, cs )t s1 20 - ns hold time from sclk (sd, as, cs )t h1 20 - ns sd out from sclk t d1 -30ns HFA3824 at 33mhz
4- 38 output enable of sd from r/w high t e1 - 20 ns (note 9) output disable of sd after r/w low t f1 - 20 ns (note 9) txclk, txrdy, i, q from mclk t d2 -35ns rxclk, md_rdy, rxd from mclk t d3 -35ns test 0-7, cca, a/d_cal, test_ck, antsel from mclk t d4 -40ns output rise/fall - 10 ns (notes 9, 10) notes: 8. ac tests performed with c l = 40pf, i ol = 2ma, and i oh = -1ma. input reference level all inputs 1.5v. test v ih = v cc , v il = 0v; v oh = v ol = v cc /2. 9. not tested, but characterized at initial design and at major process/design changes. 10. measured from v il to v ih . ac electrical specifications v cc = 3.0v to 5.0v 10%, t a = -40 o c to 85 o c, (note 8) (continued) parameter symbol 33mhz units min max i and q a/d ac electrical specifications (note 9) parameter min typ max units full scale input voltage (v p-p ) 0.25 0.50 1.0 v input bandwidth (-0.5db) - 20 - mhz input capacitance - 5 - pf input impedance (dc) 5 - - k ? fs (sampling frequency) - - 44 mhz rssi a/d electrical specifications (note 9) parameter min typ max units full scale input voltage (v p-p )--1.15v input bandwidth (0.5db) 1mhz - - mhz input capacitance (dc) - 7pf - pf input impedance 1m - - m ? HFA3824 at 33mhz
4- 39 test circuit absolute maximum ratings thermal information supply voltage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.0v input, output or i/o voltage . . . . . . . . . . . . gnd -0.5v to v cc +0.5v esd classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . class 2 operating conditions operating voltage range . . . . . . . . . . . . . . . . . . . . . +3.3v to +5.5v operating temperature range . . . . . . . . . . . . . . . . . -40 o c to 85 o c thermal resistance (typical, note 11) ja ( c/w) tqfp package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 maximum storage temperature range . . . . . . . . . -65 o c to 150 o c maximum junction temperature . . . . . . . . . . . . . . . . . . . . . . . 150 o c maximum lead temperature (soldering 10s) . . . . . . . . . . . . . 300 o c (lead tips only) die characteristics gate count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25,000 gates caution: stresses above those listed in ?absolute maximum ratings? may cause permanent damage to the device. this is a stress o nly rating and operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. note: 11. ja is measured with the component mounted on an evaluation pc board in free air. dc electrical specifications v cc = 3.3v to 5.5v t a = -40 o to 85 o c parameter symbol test conditions min typ max units power supply current i ccop v cc = 3.5v, clk frequency 44mhz (notes 12, 13) -4555ma see previous dc table for remaining dc specifications notes: 12. output load 30pf. add 8ma if rssi converter enabled. 13. not tested, but characterized at initial design and major process/design changes. ac electrical specifications v cc = 3.3v to 5.5v, t a = -40 o to 85 o , (note 14) parameter symbol 44mhz units min max clk period (mclk) t cp 22.5 - ns clk high (mclk) t ch 9-ns clk low (mclk) t cl 9-ns txclk, txrdy, i, q from mclk t d2 -25ns rxclk, md_rdy, rxd from mclk t d3 -25ns test 0-7, cca, cal_a/d, antsel, test_ck from mclk t d4 -27ns see previous ac table for remaining ac specifications note: 14. ac tests performed with c l = 40pf, i ol = 2ma, and i oh = -1ma. input reference level all inputs 1.5v. test v ih = vcc, v il = 0v; v oh = v ol = v cc /2. notes: 15. includes stray and jig capacitance 16. switch s1 open for i ccsb and i ccop figure 22. test load circuit equivalent circuit c l ioh 1.5v iol dut s 1 (note 16) (note 15) HFA3824 at 44mhz
4- 40 waveforms t p t s1 t h1 t d1 t e1 t f1 sclk sd, as, cs sd (as output) r/w sd t h t l figure 23. serial control port signal timing t cp t cl t ch t d2 t d2 t s2 t h2 txd tx_rdy, i, q txclk mclk figure 24. tx port signal timing t d3 t d3 t d3 mclk rxclk md_rdy, rxd note: rxd and md_rdy are output one mclk after rxclk rising to provide hold time. figure 25. rx port signal timing figure 26. miscellaneous signal timing t d4 mclk test 0-7, a/d_cal, cca, antsel, test_ck HFA3824
4- 41 HFA3824 thin plastic quad flatpack packages (tqfp) d d1 e e1 -a- pin 1 a2 a1 a 11 o -13 o 11 o -13 o 0 o -7 o 0.020 0.008 min l 0 o min plane b 0.004/0.008 0.09/0.20 with plating base metal seating 0.004/0.006 0.09/0.16 b1 -b- e 0.003 0.08 a-b s d s c m 0.08 0.003 -c- -d- -h- 0.25 0.010 gage plane q48.7x7 (jedec mo-136ae issue c) 48 lead thin plastic quad flatpack package sym- bol inches millimeters notes min max min max a - 0.047 - 1.20 - a1 0.002 0.005 0.05 0.15 - a2 0.038 0.041 0.95 1.05 - b 0.007 0.010 0.17 0.27 6 b1 0.007 0.009 0.17 0.23 - d 0.347 0.362 8.80 9.20 3 d1 0.268 0.283 6.80 7.20 4, 5 e 0.347 0.362 8.80 9.20 3 e1 0.268 0.283 6.80 7.20 4, 5 l 0.018 0.029 0.45 0.75 - n48 48 7 e 0.020 bsc 0.50 bsc - rev. 0 4/95 notes: 1. controlling dimension: millimeter. converted inch dimensions are not necessarily exact. 2. all dimensions and tolerances per ansi y14.5m-1982. 3. dimensions d and e to be determined at seating plane . 4. dimensions d1 and e1 to be determined at datum plane . 5. dimensions d1 and e1 do not include mold protrusion. allowable protrusion is 0.25mm (0.010 inch) per side. 6. dimension b does not include dambar protrusion. allowable dambar protrusion shall not cause the lead width to exceed the maximum b dimension by more than 0.08mm (0.003 inch). 7. ?n? is the number of terminal positions. -c- -h-


▲Up To Search▲   

 
Price & Availability of HFA3824

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X